Default to opaque bitmaps (fixes several redraw issues)
This commit is contained in:
parent
f9e950ba8f
commit
3edaf9ed2e
|
@ -117,6 +117,7 @@ void * bitmap_create_ex( int w, int h, short bpp, int rowstride, unsigned int st
|
|||
bitmap->bpp = bpp;
|
||||
bitmap->resized = NULL;
|
||||
bitmap->rowstride = rowstride;
|
||||
bitmap->opaque = true;
|
||||
} else {
|
||||
free(bitmap);
|
||||
bitmap=NULL;
|
||||
|
|
Loading…
Reference in New Issue