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
ba3f54e484
commit
23975df856
|
@ -1,5 +1,9 @@
|
||||||
D1X-Rebirth Changelog
|
D1X-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
|
20100917
|
||||||
--------
|
--------
|
||||||
arch/carbon/conf.h: Enable IPv6 for Mac OS X
|
arch/carbon/conf.h: Enable IPv6 for Mac OS X
|
||||||
|
|
|
@ -118,7 +118,7 @@ int state_callback(newmenu *menu, d_event *event, grs_bitmap *sc_bmp[])
|
||||||
#ifndef OGL
|
#ifndef OGL
|
||||||
gr_bitmap( (grd_curcanv->cv_bitmap.bm_w-THUMBNAIL_W*2)/2,items[0].y-3, &temp_canv->cv_bitmap);
|
gr_bitmap( (grd_curcanv->cv_bitmap.bm_w-THUMBNAIL_W*2)/2,items[0].y-3, &temp_canv->cv_bitmap);
|
||||||
#else
|
#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
|
#endif
|
||||||
gr_free_canvas(temp_canv);
|
gr_free_canvas(temp_canv);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue