Merge branch 'Plasma/5.15'

This commit is contained in:
Vlad Zagorodniy 2019-01-18 21:42:07 +02:00
commit 95ccb6c170

View file

@ -953,6 +953,11 @@ SceneOpenGL2::SceneOpenGL2(OpenGLBackend *backend, QObject *parent)
SceneOpenGL2::~SceneOpenGL2() SceneOpenGL2::~SceneOpenGL2()
{ {
if (m_lanczosFilter) {
makeOpenGLContextCurrent();
delete m_lanczosFilter;
m_lanczosFilter = nullptr;
}
} }
QMatrix4x4 SceneOpenGL2::createProjectionMatrix() const QMatrix4x4 SceneOpenGL2::createProjectionMatrix() const