mirror of https://github.com/OpenRCT2/OpenRCT2.git
fix fullscreen mode saving
This commit is contained in:
parent
5e074a61e6
commit
80959b7db7
|
@ -254,9 +254,6 @@ void osinterface_set_fullscreen_mode(int mode)
|
|||
|
||||
// TODO try another display mode rather than just exiting the game
|
||||
}
|
||||
|
||||
gGeneral_config.fullscreen_mode = mode;
|
||||
config_save();
|
||||
}
|
||||
|
||||
static void osinterface_resize(int width, int height)
|
||||
|
|
|
@ -574,6 +574,9 @@ static void window_options_dropdown()
|
|||
w->disabled_widgets &= ~(1 << WIDX_RESOLUTION);
|
||||
}
|
||||
osinterface_set_fullscreen_mode(dropdownIndex);
|
||||
|
||||
gGeneral_config.fullscreen_mode = (uint8)dropdownIndex;
|
||||
config_save();
|
||||
}
|
||||
break;
|
||||
case WIDX_TEMPERATURE_DROPDOWN:
|
||||
|
|
Loading…
Reference in New Issue