summaryrefslogtreecommitdiff
path: root/amiga/tree.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-01-25 00:01:55 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2016-01-25 00:01:55 +0000
commitc0d031bf735559ad1d49ce4d3773ef4788f5a096 (patch)
treeba668180e6705fd6d82782834ae67d1871454a7e /amiga/tree.c
parent452d8ce5127f60f0d54a504f6fb9fba1846f058f (diff)
downloadnetsurf-c0d031bf735559ad1d49ce4d3773ef4788f5a096.tar.gz
netsurf-c0d031bf735559ad1d49ce4d3773ef4788f5a096.tar.bz2
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.
Diffstat (limited to 'amiga/tree.c')
-rw-r--r--amiga/tree.c2
1 files changed, 1 insertions, 1 deletions
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)