Fix unused variable warning.

Change-Id: I8daa2912e1c26e9e9f6bb77f64eb3e06c6715cce
Reviewed-by: David Faure <faure@kde.org>
This commit is contained in:
Stephen Kelly 2012-04-18 13:51:40 +02:00 committed by Qt by Nokia
parent d615e02bf1
commit e8e3049d31

View 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);