diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-09-09 22:51:35 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-09-09 22:51:35 (GMT) |
commit | 77c3beb90e848a7c38459cd149f7eba977978955 (patch) | |
tree | eb2384738261880df5ce7d0591f2423bb0eaf46f /src/opengl/qpaintengine_opengl.cpp | |
parent | 2196db60fa75fc559adb1405c1b43858122ff9e7 (diff) | |
download | Qt-77c3beb90e848a7c38459cd149f7eba977978955.zip Qt-77c3beb90e848a7c38459cd149f7eba977978955.tar.gz Qt-77c3beb90e848a7c38459cd149f7eba977978955.tar.bz2 |
Suppress warnings in QtOpenGL on OpenGL/ES 1.1 systems
Reviewed-by: trustme
Diffstat (limited to 'src/opengl/qpaintengine_opengl.cpp')
-rw-r--r-- | src/opengl/qpaintengine_opengl.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/opengl/qpaintengine_opengl.cpp b/src/opengl/qpaintengine_opengl.cpp index 6466741..86653eb 100644 --- a/src/opengl/qpaintengine_opengl.cpp +++ b/src/opengl/qpaintengine_opengl.cpp @@ -5614,8 +5614,11 @@ QPixmapFilter *QOpenGLPaintEngine::createPixmapFilter(int type) const if (QGLContext::currentContext()) return QGLContext::currentContext()->d_func()->createPixmapFilter(type); else -#endif return 0; +#else + Q_UNUSED(type); + return 0; +#endif } |