diff options
author | Sergio Ahumada <sergio.ahumada@nokia.com> | 2011-11-26 19:55:41 +0100 |
---|---|---|
committer | Sergio Ahumada <sergio.ahumada@nokia.com> | 2011-11-26 19:55:41 +0100 |
commit | a7e1ff2b3fc0b5d6cad039f3fe19e31b12089250 (patch) | |
tree | dd0742d8d8f1ac20b78a5142b81a78ad89158b5c /src/opengl/qwindowsurface_gl.cpp | |
parent | 58504ad5ec6c467f90a355b1ca9c1a474ad3bcdc (diff) | |
parent | 2b18e27c041f17bbc8989aa0ef5363df34edb8e6 (diff) | |
download | qt4-tools-a7e1ff2b3fc0b5d6cad039f3fe19e31b12089250.tar.gz |
Merge remote-tracking branch 'qt-qa-review/master'
Diffstat (limited to 'src/opengl/qwindowsurface_gl.cpp')
-rw-r--r-- | src/opengl/qwindowsurface_gl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qwindowsurface_gl.cpp b/src/opengl/qwindowsurface_gl.cpp index e963f8cfbf..a15084b0c9 100644 --- a/src/opengl/qwindowsurface_gl.cpp +++ b/src/opengl/qwindowsurface_gl.cpp @@ -362,7 +362,7 @@ QGLWindowSurface::~QGLWindowSurface() { if (d_ptr->ctx) glDeleteTextures(1, &d_ptr->tex_id); -#ifndef Q_WS_QPA // Dont delete the contexts. Destroying the window does that for us +#ifndef Q_WS_QPA // Don't delete the contexts. Destroying the window does that for us foreach(QGLContext **ctx, d_ptr->contexts) { delete *ctx; *ctx = 0; |