Pass -1 instead of 255 as the colour to ogl_ubitmapm_cs when drawing savegame previews, to make sure a black rectangle isn't drawn instead
This commit is contained in:
parent
cdf8d247cd
commit
bf11555143
|
@ -1,5 +1,9 @@
|
|||
D2X-Rebirth Changelog
|
||||
|
||||
20100919
|
||||
--------
|
||||
main/state.c: Pass -1 instead of 255 as the colour to ogl_ubitmapm_cs when drawing savegame previews, to make sure a black rectangle isn't drawn instead
|
||||
|
||||
20100917
|
||||
--------
|
||||
arch/carbon/conf.h: Enable IPv6 for Mac OS X
|
||||
|
|
|
@ -136,7 +136,7 @@ int state_callback(newmenu *menu, d_event *event, grs_bitmap *sc_bmp[])
|
|||
#ifndef OGL
|
||||
gr_bitmap( (grd_curcanv->cv_bitmap.bm_w-THUMBNAIL_W*2)/2,items[0].y-3, &temp_canv->cv_bitmap);
|
||||
#else
|
||||
ogl_ubitmapm_cs((grd_curcanv->cv_bitmap.bm_w/2)-FSPACX(THUMBNAIL_W/2),items[0].y-FSPACY(3),FSPACX(THUMBNAIL_W),FSPACY(THUMBNAIL_H),&temp_canv->cv_bitmap,255,F1_0);
|
||||
ogl_ubitmapm_cs((grd_curcanv->cv_bitmap.bm_w/2)-FSPACX(THUMBNAIL_W/2),items[0].y-FSPACY(3),FSPACX(THUMBNAIL_W),FSPACY(THUMBNAIL_H),&temp_canv->cv_bitmap,-1,F1_0);
|
||||
#endif
|
||||
gr_free_canvas(temp_canv);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue