Initialise opaque setting correctly at bitmap creation in framebuffer front end. (Now JPEGs will knockout stuff behind them.)

svn path=/trunk/netsurf/; revision=10707
This commit is contained in:
Michael Drake 2010-08-14 16:55:21 +00:00
parent 9aa397ba68
commit 26cc213d23

View File

@ -46,7 +46,7 @@ void *bitmap_create(int width, int height, unsigned int state)
if (bitmap->pixdata != NULL) {
bitmap->width = width;
bitmap->height = height;
bitmap->opaque = false;
bitmap->opaque = (state & BITMAP_OPAQUE) != 0;
} else {
free(bitmap);
bitmap=NULL;