mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-16 09:12:44 +03:00
Fix another instance of BltMaskBitMapRastPort potentially being called with a NULL bltmask
This commit is contained in:
parent
bfb9e1401e
commit
a4dbb87a76
@ -545,8 +545,11 @@ static bool ami_bitmap(int x, int y, int width, int height, struct bitmap *bitma
|
||||
tag, tag_data,
|
||||
TAG_DONE);
|
||||
#else
|
||||
/* Assume mask is always required */
|
||||
BltMaskBitMapRastPort(tbm, 0, 0, glob->rp, x, y, width, height, minterm, tag_data);
|
||||
if(tag_data) {
|
||||
BltMaskBitMapRastPort(tbm, 0, 0, glob->rp, x, y, width, height, minterm, tag_data);
|
||||
} else {
|
||||
BltBitMapRastPort(tbm, 0, 0, glob->rp, x, y, width, height, 0xc0);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user