mirror of
https://github.com/libretro/mgba.git
synced 2024-11-27 10:11:00 +00:00
Qt: End painter thread when destroying GL display
This commit is contained in:
parent
50e699037f
commit
f52859126b
@ -40,6 +40,7 @@ DisplayGL::DisplayGL(const QGLFormat& format, QWidget* parent)
|
||||
}
|
||||
|
||||
DisplayGL::~DisplayGL() {
|
||||
stopDrawing();
|
||||
delete m_painter;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user