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/print.c | |
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/print.c')
-rw-r--r-- | amiga/print.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/amiga/print.c b/amiga/print.c index 25230112f..84cca8fac 100644 --- a/amiga/print.c +++ b/amiga/print.c @@ -481,7 +481,8 @@ bool ami_print_begin(struct print_settings *ps) ami_init_layers(ami_print_info.gg, ami_print_info.PED->ped_MaxXDots, - ami_print_info.PED->ped_MaxYDots); + ami_print_info.PED->ped_MaxYDots, + true); ami_print_info.page = 0; |