aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp')
-rw-r--r--src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp b/src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp
index 0c0ee5e579..4fd0003e54 100644
--- a/src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp
+++ b/src/quick/scenegraph/adaptations/software/qsgsoftwarecontext.cpp
@@ -113,8 +113,7 @@ void QSGSoftwareRenderContext::invalidate()
qDeleteAll(m_textures);
m_textures.clear();
- qDeleteAll(m_fontEnginesToClean);
- m_fontEnginesToClean.clear();
+ Q_ASSERT(m_fontEnginesToClean.isEmpty());
qDeleteAll(m_glyphCaches);
m_glyphCaches.clear();