diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-04-18 13:51:40 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-18 17:28:47 +0200 |
commit | e8e3049d311a7dc3c2afd9edba37fd63227ca948 (patch) | |
tree | e5aa34258982477df625a822012fea063d7d8519 /src | |
parent | d615e02bf104e7a169d482d872619168f0a58d1d (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.h | 2 |
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); |