diff options
| author | Sergio Ahumada <sergio.ahumada@digia.com> | 2013-10-09 15:50:11 +0200 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-09 15:50:11 +0200 |
| commit | da0cb32b8ee7cc4a991a59420a411898e63a660e (patch) | |
| tree | 9ed8e190a6543518f9b082afc5a380f659da0220 /src/gui/opengl/qopengltexture.cpp | |
| parent | 7f3e3c1099f42cff46bbd267c70587bcf72024fc (diff) | |
| parent | d8fc0da235b2bd566b2b6f1e21218afdf2f34eb3 (diff) | |
Merge "Merge remote-tracking branch 'origin/stable' into dev" into refs/staging/dev
Diffstat (limited to 'src/gui/opengl/qopengltexture.cpp')
| -rw-r--r-- | src/gui/opengl/qopengltexture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/opengl/qopengltexture.cpp b/src/gui/opengl/qopengltexture.cpp index d053937c895..a6e1c2953d2 100644 --- a/src/gui/opengl/qopengltexture.cpp +++ b/src/gui/opengl/qopengltexture.cpp @@ -175,7 +175,7 @@ bool QOpenGLTexturePrivate::create() void QOpenGLTexturePrivate::destroy() { - if (QOpenGLContext::currentContext() == context) { + if (QOpenGLContext::currentContext() != context) { qWarning("Requires a valid current OpenGL context.\n" "Texture has not been destroyed"); return; |
