mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-21 03:32:35 +03:00
Disable "native scaled bitmaps" option if we're in palette mapped mode
This commit is contained in:
parent
e6b827979b
commit
f5ab570320
@ -503,7 +503,7 @@ void ami_gui_opts_open(void)
|
||||
BOOL proxyhostdisabled = TRUE, proxyauthdisabled = TRUE, proxybypassdisabled = FALSE;
|
||||
BOOL disableanims, animspeeddisabled = FALSE, acceptlangdisabled = FALSE;
|
||||
BOOL scaleselected = nsoption_bool(scale_quality), scaledisabled = FALSE;
|
||||
BOOL ditherdisable = TRUE;
|
||||
BOOL ditherdisable = TRUE, nativebm_disable = FALSE;
|
||||
BOOL download_notify_disabled = FALSE;
|
||||
BOOL ptr_disable = FALSE;
|
||||
char animspeed[10];
|
||||
@ -550,8 +550,10 @@ void ami_gui_opts_open(void)
|
||||
screenmodeid = strtoul(nsoption_charp(screen_modeid),NULL,0);
|
||||
}
|
||||
|
||||
if(ami_plot_screen_is_palettemapped() == true)
|
||||
if(ami_plot_screen_is_palettemapped() == true) {
|
||||
ditherdisable = FALSE;
|
||||
nativebm_disable = TRUE;
|
||||
}
|
||||
|
||||
if(nsoption_bool(http_proxy) == true)
|
||||
{
|
||||
@ -1014,6 +1016,7 @@ void ami_gui_opts_open(void)
|
||||
LAYOUT_AddChild, gow->objects[GID_OPTS_NATIVEBM] = ChooserObj,
|
||||
GA_ID, GID_OPTS_NATIVEBM,
|
||||
GA_RelVerify, TRUE,
|
||||
GA_Disabled, nativebm_disable,
|
||||
CHOOSER_PopUp, TRUE,
|
||||
#ifdef __amigaos4__
|
||||
CHOOSER_LabelArray, nativebmopts,
|
||||
|
Loading…
Reference in New Issue
Block a user