Qt: Fix flickering when frame-advancing on Windows
This commit is contained in:
parent
16bcdd0fc3
commit
959e4bf1e6
@ -309,7 +309,7 @@ void DisplayGL::pauseDrawing() {
|
||||
if (m_hasStarted) {
|
||||
m_isDrawing = false;
|
||||
QMetaObject::invokeMethod(m_painter.get(), "pause", Qt::BlockingQueuedConnection);
|
||||
if (QGuiApplication::platformName() != "xcb") {
|
||||
if (!shouldDisableUpdates()) {
|
||||
setUpdatesEnabled(true);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user