eglfs: Unset shared raster compositing context before deletion
Change-Id: Ib0f615c76ac62f1177e44faaa733e67014f4185d Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>bb10
parent
eef865cdc5
commit
f3db9abebf
|
|
@ -177,6 +177,8 @@ void QEglFSWindow::destroy()
|
|||
|
||||
#ifndef QT_NO_OPENGL
|
||||
QOpenGLCompositor::destroy();
|
||||
if (qt_gl_global_share_context() == m_rasterCompositingContext)
|
||||
qt_gl_set_global_share_context(nullptr);
|
||||
delete m_rasterCompositingContext;
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue