summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-04-18 13:51:40 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-18 17:28:47 +0200
commite8e3049d311a7dc3c2afd9edba37fd63227ca948 (patch)
treee5aa34258982477df625a822012fea063d7d8519 /src
parentd615e02bf104e7a169d482d872619168f0a58d1d (diff)
Fix unused variable warning.
Change-Id: I8daa2912e1c26e9e9f6bb77f64eb3e06c6715cce Reviewed-by: David Faure <faure@kde.org>
Diffstat (limited to 'src')
-rw-r--r--src/opengl/gl2paintengineex/qtextureglyphcache_gl_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opengl/gl2paintengineex/qtextureglyphcache_gl_p.h b/src/opengl/gl2paintengineex/qtextureglyphcache_gl_p.h
index 8992c535ba..122fed582b 100644
--- a/src/opengl/gl2paintengineex/qtextureglyphcache_gl_p.h
+++ b/src/opengl/gl2paintengineex/qtextureglyphcache_gl_p.h
@@ -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);