Merge branch 'Plasma/5.15'
This commit is contained in:
commit
95ccb6c170
1 changed files with 5 additions and 0 deletions
|
@ -953,6 +953,11 @@ SceneOpenGL2::SceneOpenGL2(OpenGLBackend *backend, QObject *parent)
|
|||
|
||||
SceneOpenGL2::~SceneOpenGL2()
|
||||
{
|
||||
if (m_lanczosFilter) {
|
||||
makeOpenGLContextCurrent();
|
||||
delete m_lanczosFilter;
|
||||
m_lanczosFilter = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
QMatrix4x4 SceneOpenGL2::createProjectionMatrix() const
|
||||
|
|
Loading…
Reference in a new issue