From 5f65b1caa705f07a0efbeb9cebcfc27800525a7e Mon Sep 17 00:00:00 2001 From: Chris Young Date: Thu, 11 Aug 2016 18:55:43 +0100 Subject: OS3-related comments --- frontends/amiga/plotters.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'frontends/amiga/plotters.c') diff --git a/frontends/amiga/plotters.c b/frontends/amiga/plotters.c index efb0b0985..19171716c 100644 --- a/frontends/amiga/plotters.c +++ b/frontends/amiga/plotters.c @@ -124,12 +124,18 @@ void ami_init_layers(struct gui_globals *gg, ULONG width, ULONG height, bool for * If we get a bit smarter about this we can lose the user option. */ if((depth > 8) && (force32bit == false)) friend = scrn->RastPort.BitMap; } + + /* OS3 is locked to using palette-mapped display even on RTG. + * To change this, comment out the below and build with the similar OS4 lines above. + * Various bits of RTG code are OS4-only and OS3 versions will need to be written, + * however a brief test reveals a negative performance benefit, so this lock to a + * palette-mapped display is most likely permanent. + */ #warning OS3 locked to palette-mapped modes gg->palette_mapped = true; if(depth > 8) depth = 8; #endif - /* Probably need to fix this next line */ if(gg->palette_mapped == true) nsoption_set_bool(font_antialiasing, false); -- cgit v1.2.3