summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-11-02 09:14:34 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-11-02 11:57:55 (GMT)
commit7f9c446f53ba89fb5add8ff6a62088eaa93d3460 (patch)
tree14b4ba9c0d5d5b17215ae2767de0155f832476fd /src/opengl
parentcb357aad0f26c36eb1f942ae37647f9de071c948 (diff)
downloadQt-7f9c446f53ba89fb5add8ff6a62088eaa93d3460.zip
Qt-7f9c446f53ba89fb5add8ff6a62088eaa93d3460.tar.gz
Qt-7f9c446f53ba89fb5add8ff6a62088eaa93d3460.tar.bz2
Fixed compiler warning on GCC about empty while statement.
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/qgl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp
index 3fec1f0..2a57468 100644
--- a/src/opengl/qgl.cpp
+++ b/src/opengl/qgl.cpp
@@ -2158,7 +2158,7 @@ QGLTexture* QGLContextPrivate::bindTexture(const QImage &image, GLenum target, G
#ifndef QT_NO_DEBUG
// Reset the gl error stack...git
- while (glGetError() != GL_NO_ERROR);
+ while (glGetError() != GL_NO_ERROR) ;
#endif
// Scale the pixmap if needed. GL textures needs to have the