mirror of https://github.com/mgba-emu/mgba.git
Qt: Don't re-enable updates on xcb
This commit is contained in:
parent
4b0ea00ba1
commit
d95d982ba3
|
@ -298,7 +298,9 @@ void DisplayGL::pauseDrawing() {
|
||||||
if (m_hasStarted) {
|
if (m_hasStarted) {
|
||||||
m_isDrawing = false;
|
m_isDrawing = false;
|
||||||
QMetaObject::invokeMethod(m_painter.get(), "pause", Qt::BlockingQueuedConnection);
|
QMetaObject::invokeMethod(m_painter.get(), "pause", Qt::BlockingQueuedConnection);
|
||||||
setUpdatesEnabled(true);
|
if (QGuiApplication::platformName() != "xcb") {
|
||||||
|
setUpdatesEnabled(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue