1
0
Fork 0

Allow selecting windowresolution only on start

Changing this option dynamically via "config" built-in never worked, it
was always broken.  Set it to change'able only on start, otherwise all
broken edge-cases would need to be fixed.
This commit is contained in:
Patryk Obara 2020-04-07 12:50:49 +02:00
parent 294b1a5297
commit d0bf1ee09b

View file

@ -2434,8 +2434,8 @@ void Config_Add_SDL() {
Pstring->Set_help("What resolution to use for fullscreen: 'original', 'desktop'\n"
"or a fixed size (e.g. 1024x768).");
Pstring = sdl_sec->Add_string("windowresolution", always, "original");
Pstring->Set_help("Scale the window to this size. Value 'original' will resize\n"
pstring = sdl_sec->Add_string("windowresolution", on_start, "original");
pstring->Set_help("Scale the window to this size. Value 'original' will resize\n"
"window to the resolution picked by the emulated program.\n"
"Not supported when 'output' is set to 'surface'.");