summaryrefslogtreecommitdiff
path: root/amiga/bitmap.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-08-05 14:02:32 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-08-05 14:02:32 +0100
commit97aabaf49dc587345f40b1ab8e908fdc6dcfae0f (patch)
treec9dff27a064e034c462d380336cf642abd0bd0d9 /amiga/bitmap.c
parent28ddb102687dc570f94a2f2157c80a279bf99274 (diff)
downloadnetsurf-97aabaf49dc587345f40b1ab8e908fdc6dcfae0f.tar.gz
netsurf-97aabaf49dc587345f40b1ab8e908fdc6dcfae0f.tar.bz2
Test for opaqueness where we create bitmaps in the platform code
Diffstat (limited to 'amiga/bitmap.c')
-rw-r--r--amiga/bitmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/amiga/bitmap.c b/amiga/bitmap.c
index bf32a2ffd..ce665aaf7 100644
--- a/amiga/bitmap.c
+++ b/amiga/bitmap.c
@@ -328,6 +328,8 @@ struct bitmap *ami_bitmap_from_datatype(char *filename)
IDoMethod(dto, PDTM_READPIXELARRAY, bitmap_get_buffer(bm),
PBPAFMT_RGBA, bitmap_get_rowstride(bm), 0, 0,
bmh->bmh_Width, bmh->bmh_Height);
+
+ bitmap_set_opaque(bm, bitmap_test_opaque(bm));
}
DisposeDTObject(dto);
}