Fix "-no-opengl" configuration in Windows
"-no-opengl" didn't clear the default value for "OPENGL_ES_2", which meant "opengles2" got configured in. Task-number: QTBUG-27840 Change-Id: Id7b8e3e268571d820bebfb3700d3961ec96be7fd Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
parent
96ebbad5f0
commit
7e81938628
@ -661,6 +661,7 @@ void Configure::parseCmdLine()
|
||||
// OpenGL Support -------------------------------------------
|
||||
else if (configCmdLine.at(i) == "-no-opengl") {
|
||||
dictionary[ "OPENGL" ] = "no";
|
||||
dictionary[ "OPENGL_ES_2" ] = "no";
|
||||
} else if (configCmdLine.at(i) == "-opengl-es-cm") {
|
||||
dictionary[ "OPENGL" ] = "yes";
|
||||
dictionary[ "OPENGL_ES_CM" ] = "yes";
|
||||
|
Loading…
Reference in New Issue
Block a user