mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 21:16:50 +03:00
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:
parent
9aa397ba68
commit
26cc213d23
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user