Fix unused variable warning.
authorStephen Kelly <stephen.kelly@kdab.com>
Wed, 18 Apr 2012 11:51:40 +0000 (13:51 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 18 Apr 2012 15:28:47 +0000 (17:28 +0200)
Change-Id: I8daa2912e1c26e9e9f6bb77f64eb3e06c6715cce
Reviewed-by: David Faure <faure@kde.org>
src/opengl/gl2paintengineex/qtextureglyphcache_gl_p.h

index 8992c53..122fed5 100644 (file)
@@ -85,6 +85,8 @@ struct QGLGlyphTexture : public QOpenGLSharedResource
         const QGLContext *ctx = QGLContext::fromOpenGLContext(context);
 #ifdef QT_GL_TEXTURE_GLYPH_CACHE_DEBUG
         qDebug("~QGLGlyphTexture() %p for context %p.", this, ctx);
+#else
+        Q_UNUSED(ctx);
 #endif
         if (m_fbo)
             glDeleteFramebuffers(1, &m_fbo);