summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-08-11 17:55:43 (GMT)
committer Chris Young <chris@unsatisfactorysoftware.co.uk>2016-08-11 17:55:43 (GMT)
commit5f65b1caa705f07a0efbeb9cebcfc27800525a7e (patch)
treeab55291a4feced23a30d78ecd66a7370723b369f
parenta0d51e5f686a21de91b9ef44ed74dc8116ef3b46 (diff)
downloadnetsurf-5f65b1caa705f07a0efbeb9cebcfc27800525a7e.tar.gz
netsurf-5f65b1caa705f07a0efbeb9cebcfc27800525a7e.tar.bz2
OS3-related comments
-rw-r--r--frontends/amiga/plotters.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/frontends/amiga/plotters.c b/frontends/amiga/plotters.c
index efb0b09..1917171 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);