diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-11-02 09:14:34 (GMT) |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-11-02 11:57:55 (GMT) |
commit | 7f9c446f53ba89fb5add8ff6a62088eaa93d3460 (patch) | |
tree | 14b4ba9c0d5d5b17215ae2767de0155f832476fd /src/opengl/qgl.cpp | |
parent | cb357aad0f26c36eb1f942ae37647f9de071c948 (diff) | |
download | Qt-7f9c446f53ba89fb5add8ff6a62088eaa93d3460.zip Qt-7f9c446f53ba89fb5add8ff6a62088eaa93d3460.tar.gz Qt-7f9c446f53ba89fb5add8ff6a62088eaa93d3460.tar.bz2 |
Fixed compiler warning on GCC about empty while statement.
Diffstat (limited to 'src/opengl/qgl.cpp')
-rw-r--r-- | src/opengl/qgl.cpp | 2 |
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 |