diff options
Diffstat (limited to 'src/plugins/renderers/opengl/graphicshelpers/graphicshelperes2.cpp')
-rw-r--r-- | src/plugins/renderers/opengl/graphicshelpers/graphicshelperes2.cpp | 6 |
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) |