Tech ENABLE_OPENGL_DEBUG_OPTION - Let option opengl-debug be always available to avoid error unknown option at startup
This commit is contained in:
parent
22b634ca1d
commit
e0c8ffc524
4 changed files with 4 additions and 13 deletions
|
@ -4311,13 +4311,11 @@ CLIActionsConfigDef::CLIActionsConfigDef()
|
|||
def->cli = "opengl-core";
|
||||
def->set_default_value(new ConfigOptionString());
|
||||
|
||||
#if ENABLE_OPENGL_DEBUG_OPTION
|
||||
def = this->add("opengl-debug", coBool);
|
||||
def->label = L("OpenGL debug output");
|
||||
def->tooltip = L("Activate OpenGL debug output on graphic cards which support it");
|
||||
def->cli = "opengl-debug";
|
||||
def->set_default_value(new ConfigOptionBool(false));
|
||||
#endif // ENABLE_OPENGL_DEBUG_OPTION
|
||||
#endif // ENABLE_GL_CORE_PROFILE
|
||||
|
||||
def = this->add("slice", coBool);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue