summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-09-30 13:55:29 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-10-01 08:29:27 (GMT)
commitd6cb9ed0b44118c7f9045559a300ea14985f0103 (patch)
tree998dc714d8efaa4e2b5e3a19acac441546c2259f /src/opengl
parent9c0b1db38f7ad8b6b0d51410033854be72146e74 (diff)
downloadQt-d6cb9ed0b44118c7f9045559a300ea14985f0103.zip
Qt-d6cb9ed0b44118c7f9045559a300ea14985f0103.tar.gz
Qt-d6cb9ed0b44118c7f9045559a300ea14985f0103.tar.bz2
Fix warnings on mingw
Reviewed-by: trust me
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp b/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
index 7e45fd9..f612bc0 100644
--- a/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
+++ b/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
@@ -1452,6 +1452,7 @@ bool QGL2PaintEngineEx::begin(QPaintDevice *pdev)
#if !defined(QT_OPENGL_ES_2)
bool success = qt_resolve_version_2_0_functions(d->ctx);
Q_ASSERT(success);
+ Q_UNUSED(success);
#endif
d->shaderManager = new QGLEngineShaderManager(d->ctx);