all repos — mgba @ f52859126bcc3fd8c6f3026bc2209f2678a06c5d

mGBA Game Boy Advance Emulator

Qt: End painter thread when destroying GL display
Vicki Pfau vi@endrift.com
Tue, 02 Oct 2018 13:07:26 -0700
commit

f52859126bcc3fd8c6f3026bc2209f2678a06c5d

parent

50e699037fe72d0c13ac676c7492bc0032dca2ac

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/DisplayGL.cppsrc/platform/qt/DisplayGL.cpp

@@ -40,6 +40,7 @@ m_gl->setAttribute(Qt::WA_TransparentForMouseEvents); // This doesn't seem to work?

} DisplayGL::~DisplayGL() { + stopDrawing(); delete m_painter; }