From c0d031bf735559ad1d49ce4d3773ef4788f5a096 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 25 Jan 2016 00:01:55 +0000 Subject: Make the palette-mapped state relate to the rendering layer rather than globally. This means we can still render in 32-bit mode internally when the destination isn't the screen. NB: bitmap_render is currently freezing when the screen is in palette-mapped mode (old bug, pre-dates this change), so for now we skip this routine in that scenario. --- amiga/tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'amiga/tree.c') diff --git a/amiga/tree.c b/amiga/tree.c index 8a35a4453..54082099f 100644 --- a/amiga/tree.c +++ b/amiga/tree.c @@ -734,7 +734,7 @@ void ami_tree_open(struct treeview_window *twin,int type) twin->scrollerhook.h_Entry = (void *)ami_tree_scroller_hook; twin->scrollerhook.h_Data = twin; - ami_init_layers(&twin->globals, 0, 0); + ami_init_layers(&twin->globals, 0, 0, false); ami_tree_menu(twin); if(type == AMI_TREE_SSLCERT) -- cgit v1.2.3