summaryrefslogtreecommitdiff
path: root/frontends/amiga/bitmap.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2017-02-13 18:41:38 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2017-02-13 18:41:38 +0000
commit0c32cbb7cb942a3c5845064701f04dc5b413dfad (patch)
treecf50b4f80a61a921e90cfaf271fda4e594b5e606 /frontends/amiga/bitmap.c
parent184348dada5ca68c0765c54061fef76408d4ed6c (diff)
downloadnetsurf-0c32cbb7cb942a3c5845064701f04dc5b413dfad.tar.gz
netsurf-0c32cbb7cb942a3c5845064701f04dc5b413dfad.tar.bz2
Try to ensure we get the correct type of native BitMap
Diffstat (limited to 'frontends/amiga/bitmap.c')
-rw-r--r--frontends/amiga/bitmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/amiga/bitmap.c b/frontends/amiga/bitmap.c
index 24471c31f..533b416fa 100644
--- a/frontends/amiga/bitmap.c
+++ b/frontends/amiga/bitmap.c
@@ -703,11 +703,11 @@ static inline struct BitMap *ami_bitmap_get_palettemapped(struct bitmap *bitmap,
}
struct BitMap *ami_bitmap_get_native(struct bitmap *bitmap,
- int width, int height, struct BitMap *friendbm)
+ int width, int height, bool palette_mapped, struct BitMap *friendbm)
{
if(bitmap == NULL) return NULL;
- if(__builtin_expect(ami_plot_screen_is_palettemapped() == true, 0)) {
+ if(__builtin_expect(palette_mapped == true, 0)) {
return ami_bitmap_get_palettemapped(bitmap, width, height, friendbm);
} else {
return ami_bitmap_get_truecolour(bitmap, width, height, friendbm);