mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 01:33:16 +03:00
Remove BMF_DISPLAYABLE from other non-displayed BitMaps
This commit is contained in:
parent
f514595ccf
commit
73b74988dc
@ -425,7 +425,7 @@ static struct BitMap *ami_bitmap_get_truecolour(struct bitmap *bitmap,int width,
|
||||
struct BitMap *scaledbm;
|
||||
struct BitScaleArgs bsa;
|
||||
|
||||
scaledbm = ami_rtg_allocbitmap(width, height, 32, BMF_DISPLAYABLE,
|
||||
scaledbm = ami_rtg_allocbitmap(width, height, 32, 0,
|
||||
friendbm, AMI_BITMAP_FORMAT);
|
||||
|
||||
if(GfxBase->LibNode.lib_Version >= 53) // AutoDoc says v52, but this function isn't in OS4.0, so checking for v53 (OS4.1)
|
||||
|
@ -62,8 +62,7 @@ bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap,
|
||||
bitmap->width;
|
||||
|
||||
bitmap->nativebm = ami_rtg_allocbitmap(bitmap->width, bitmap->height, 32,
|
||||
BMF_CLEAR | BMF_DISPLAYABLE | BMF_INTERLEAVED,
|
||||
browserglob.bm, RGBFB_A8R8G8B8);
|
||||
BMF_CLEAR, browserglob.bm, RGBFB_A8R8G8B8);
|
||||
|
||||
bitmap->nativebmwidth = bitmap->width;
|
||||
bitmap->nativebmheight = bitmap->height;
|
||||
|
Loading…
Reference in New Issue
Block a user