mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-18 16:49:18 +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, tag_data,
|
||||||
TAG_DONE);
|
TAG_DONE);
|
||||||
#else
|
#else
|
||||||
/* Assume mask is always required */
|
if(tag_data) {
|
||||||
BltMaskBitMapRastPort(tbm, 0, 0, glob->rp, x, y, width, height, minterm, 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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user