diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2017-02-13 18:41:38 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2017-02-13 18:41:38 +0000 |
commit | 0c32cbb7cb942a3c5845064701f04dc5b413dfad (patch) | |
tree | cf50b4f80a61a921e90cfaf271fda4e594b5e606 /frontends/amiga/bitmap.c | |
parent | 184348dada5ca68c0765c54061fef76408d4ed6c (diff) | |
download | netsurf-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.c | 4 |
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); |