mirror of https://github.com/mgba-emu/mgba.git
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