Fix unused variable warning.
Change-Id: I8daa2912e1c26e9e9f6bb77f64eb3e06c6715cce Reviewed-by: David Faure <faure@kde.org>
This commit is contained in:
parent
d615e02bf1
commit
e8e3049d31
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user