Default to opaque bitmaps (fixes several redraw issues)

This commit is contained in:
Ole Loots 2013-04-16 01:17:44 +02:00
parent f9e950ba8f
commit 3edaf9ed2e
1 changed files with 1 additions and 0 deletions

View File

@ -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;