Qt: End painter thread when destroying GL display
Vicki Pfau vi@endrift.com
Tue, 02 Oct 2018 13:07:26 -0700
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/platform/qt/DisplayGL.cpp
→
src/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; }