Tech ENABLE_GL_CORE_PROFILE - Command line option '--opengl-core=M.m' renamed as '--opengl-version=M.m'
use case 1 - the option is not added to the command line - PrusaSlicer defaults to the highest available core profile OpenGL version use case 2 - the option specify an OpenGL version which supports core profile - PrusaSlicer select the required OpenGL version, if available use case 3 - the option specify an OpenGL version which does not support core profile - PrusaSlicer defaults to the highest available compatibility profile OpenGL version use case 4 - the option contains invalid OpenGL version - PrusaSlicer defaults to the highest available core profile OpenGL version
This commit is contained in:
parent
da0a5b5cfb
commit
8db552ce26
5 changed files with 66 additions and 35 deletions
|
@ -4305,10 +4305,10 @@ CLIActionsConfigDef::CLIActionsConfigDef()
|
|||
def->set_default_value(new ConfigOptionBool(false));
|
||||
|
||||
#if ENABLE_GL_CORE_PROFILE
|
||||
def = this->add("opengl-core", coString);
|
||||
def->label = L("OpenGL core version");
|
||||
def->tooltip = L("Select the specified OpenGL version supporting core profile");
|
||||
def->cli = "opengl-core";
|
||||
def = this->add("opengl-version", coString);
|
||||
def->label = L("OpenGL version");
|
||||
def->tooltip = L("Select the specified OpenGL version");
|
||||
def->cli = "opengl-version";
|
||||
def->set_default_value(new ConfigOptionString());
|
||||
|
||||
def = this->add("opengl-debug", coBool);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue