From 7e819386283c2ef7f0af1fc9eec6cf7227aa1524 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Mon, 5 Nov 2012 11:48:07 +0200 Subject: 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 --- tools/configure/configureapp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index d2046413cf..cb7a3f4d6f 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -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"; -- cgit v1.2.3