diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/scenegraph/softwarecontext/imagenode.cpp | 2 | ||||
-rw-r--r-- | src/plugins/scenegraph/softwarecontext/threadedrenderloop.cpp | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/scenegraph/softwarecontext/imagenode.cpp b/src/plugins/scenegraph/softwarecontext/imagenode.cpp index 2a529c6c63..e09ad5862a 100644 --- a/src/plugins/scenegraph/softwarecontext/imagenode.cpp +++ b/src/plugins/scenegraph/softwarecontext/imagenode.cpp @@ -375,7 +375,7 @@ void ImageNode::setMipmapFiltering(QSGTexture::Filtering /*filtering*/) void ImageNode::setFiltering(QSGTexture::Filtering filtering) { - bool smooth = (filtering == QSGTexture::Nearest); + bool smooth = (filtering == QSGTexture::Linear); if (smooth == m_smooth) return; diff --git a/src/plugins/scenegraph/softwarecontext/threadedrenderloop.cpp b/src/plugins/scenegraph/softwarecontext/threadedrenderloop.cpp index 36a8758279..cd6f1aa41d 100644 --- a/src/plugins/scenegraph/softwarecontext/threadedrenderloop.cpp +++ b/src/plugins/scenegraph/softwarecontext/threadedrenderloop.cpp @@ -347,7 +347,10 @@ bool RenderThread::event(QEvent *e) mutex.lock(); if (window) { - QQuickWindowPrivate::get(window)->fireAboutToStop(); + QQuickWindowPrivate *d = QQuickWindowPrivate::get(window); + d->fireAboutToStop(); + d->cleanupNodesOnShutdown(); + qCDebug(QSG_RASTER_LOG_RENDERLOOP) << QSG_RT_PAD << "- window removed"; window = 0; } |