Remove BMF_DISPLAYABLE from other non-displayed BitMaps

This commit is contained in:
Chris Young 2015-01-31 22:19:12 +00:00
parent f514595ccf
commit 73b74988dc
2 changed files with 2 additions and 3 deletions

View File

@ -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)

View File

@ -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;