summaryrefslogtreecommitdiffstats
path: root/src/plugins/renderers/opengl/graphicshelpers/graphicshelperes2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/renderers/opengl/graphicshelpers/graphicshelperes2.cpp')
-rw-r--r--src/plugins/renderers/opengl/graphicshelpers/graphicshelperes2.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/renderers/opengl/graphicshelpers/graphicshelperes2.cpp b/src/plugins/renderers/opengl/graphicshelpers/graphicshelperes2.cpp
index 3ae9ed932..f485fc57b 100644
--- a/src/plugins/renderers/opengl/graphicshelpers/graphicshelperes2.cpp
+++ b/src/plugins/renderers/opengl/graphicshelpers/graphicshelperes2.cpp
@@ -419,8 +419,10 @@ void GraphicsHelperES2::setMSAAEnabled(bool enabled)
static bool showWarning = true;
if (!showWarning)
return;
- showWarning = false;
- qWarning() << "MSAA not available with OpenGL ES 2.0";
+ if (!enabled) {
+ showWarning = false;
+ qWarning() << "MSAA cannot be disabled with OpenGL ES 2.0";
+ }
}
void GraphicsHelperES2::setAlphaCoverageEnabled(bool enabled)