1
0
Fork 0

Change 'sdl.output' default to 'opengl'

When OpenGL support is disabled during compilation, previous default of
'texture' is preserved.
This commit is contained in:
Patryk Obara 2020-02-14 13:59:44 +01:00 committed by Patryk Obara
parent bb7e202d2c
commit 9fee755542

View file

@ -2199,7 +2199,12 @@ void Config_Add_SDL() {
#endif
0
};
Pstring = sdl_sec->Add_string("output",Property::Changeable::Always,"texture");
#if C_OPENGL
Pstring = sdl_sec->Add_string("output", Property::Changeable::Always, "opengl");
#else
Pstring = sdl_sec->Add_string("output", Property::Changeable::Always, "texture");
#endif
Pstring->Set_help("What video system to use for output.");
Pstring->Set_values(outputs);