From be62ece6c1ae8cbe19f1a445f82e55782fd22129 Mon Sep 17 00:00:00 2001 From: Morten Sorvig Date: Mon, 29 Aug 2011 11:59:07 +0200 Subject: Compile without QT_DEBUG. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3dadcdd83f45451d712703601d46adbc1691291b Reviewed-on: http://codereview.qt.nokia.com/3727 Reviewed-by: Qt Sanity Bot Reviewed-by: Samuel Rødal --- src/gui/opengl/qopenglshaderprogram.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/opengl/qopenglshaderprogram.cpp') diff --git a/src/gui/opengl/qopenglshaderprogram.cpp b/src/gui/opengl/qopenglshaderprogram.cpp index 26ffe2b7484..e8baf11db8c 100644 --- a/src/gui/opengl/qopenglshaderprogram.cpp +++ b/src/gui/opengl/qopenglshaderprogram.cpp @@ -892,8 +892,8 @@ bool QOpenGLShaderProgram::bind() */ void QOpenGLShaderProgram::release() { -#ifndef QT_NO_DEBUG Q_D(QOpenGLShaderProgram); +#ifndef QT_NO_DEBUG if (d->programGuard->group() != QOpenGLContextGroup::currentContextGroup()) qWarning("QOpenGLShaderProgram::release: program is not valid in the current context."); #endif -- cgit v1.2.3