diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-01-25 00:01:55 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-01-25 00:01:55 +0000 |
commit | c0d031bf735559ad1d49ce4d3773ef4788f5a096 (patch) | |
tree | ba668180e6705fd6d82782834ae67d1871454a7e /amiga/gui.h | |
parent | 452d8ce5127f60f0d54a504f6fb9fba1846f058f (diff) | |
download | netsurf-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/gui.h')
-rw-r--r-- | amiga/gui.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/gui.h b/amiga/gui.h index 436991936..38eee52bf 100644 --- a/amiga/gui.h +++ b/amiga/gui.h @@ -138,7 +138,7 @@ struct gui_window_2 { gui_drag_type drag_op; struct IBox *ptr_lock; struct AppWindow *appwin; - struct MinList shared_pens; + struct MinList *shared_pens; gui_pointer_shape mouse_pointer; struct Menu *imenu; /* Intuition menu */ struct VisualInfo *vi; /* For GadTools menu */ |