diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-08-07 00:07:37 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-08-07 00:07:37 +0100 |
commit | 9fac1daff4a99714ab95ff076ee7891b86bfc5e4 (patch) | |
tree | 4ac9c33e78b00be416cf6003cb8f5353d4d10eca /amiga | |
parent | a262507b3aa67ca8af1b754646d0835b317a58d7 (diff) | |
download | netsurf-9fac1daff4a99714ab95ff076ee7891b86bfc5e4.tar.gz netsurf-9fac1daff4a99714ab95ff076ee7891b86bfc5e4.tar.bz2 |
...or it might just crash. Will consider a hybrid mode, as palette-mapped images do not display correctly when blitted to a 16- or 32-bit screen.
Diffstat (limited to 'amiga')
-rwxr-xr-x | amiga/plotters.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/amiga/plotters.c b/amiga/plotters.c index 2fbd73521..eb39550a0 100755 --- a/amiga/plotters.c +++ b/amiga/plotters.c @@ -153,8 +153,7 @@ void ami_init_layers(struct gui_globals *gg, ULONG width, ULONG height) gg->areabuf = AllocVec(100, MEMF_PRIVATE | MEMF_CLEAR); gg->tmprasbuf = AllocVec(width * height, MEMF_PRIVATE | MEMF_CLEAR); - if((palette_mapped == true) || - ((depth == 16) && (nsoption_int(cairo_renderer) <= 0))) { + if(palette_mapped == true) { gg->bm = AllocBitMap(width, height, depth, BMF_INTERLEAVED, friend); } else { gg->bm = p96AllocBitMap(width, height, 32, |