mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 17:52:43 +03:00
Ensure bitmap width/height are initialised.
This commit is contained in:
parent
fcc318cf29
commit
15d95ddcf8
@ -1031,6 +1031,9 @@ static bool bitmap_convert_8(struct bitmap * img, int x,
|
||||
assert( clip->g_h > 0 );
|
||||
assert( clip->g_w > 0 );
|
||||
|
||||
bw = bitmap_get_width( img );
|
||||
bh = bitmap_get_height( img );
|
||||
|
||||
// The converted bitmap can be saved for subsequent blits, when
|
||||
// the bitmap is fully opaque
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user