From 9fac1daff4a99714ab95ff076ee7891b86bfc5e4 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Tue, 7 Aug 2012 00:07:37 +0100 Subject: ...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. --- amiga/plotters.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'amiga') 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, -- cgit v1.2.3