summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/opengl/qgl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp
index dd977cb..fce9fdb 100644
--- a/src/opengl/qgl.cpp
+++ b/src/opengl/qgl.cpp
@@ -1683,7 +1683,6 @@ void QGLTextureCache::cleanupBeforePixmapDestruction(QPixmapData* pmd)
{
// Remove any bound textures first:
cleanupTextures(pmd);
- Q_ASSERT(instance()->getTexture(pmd->cacheKey()) == 0);
#if defined(Q_WS_X11)
if (pmd->classId() == QPixmapData::X11Class) {