Change 'sdl.output' default to 'opengl'
When OpenGL support is disabled during compilation, previous default of 'texture' is preserved.
This commit is contained in:
parent
bb7e202d2c
commit
9fee755542
1 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue