Skip to content

Commit

Permalink
Qt: Fix flickering when frame-advancing on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
endrift committed Oct 12, 2022
1 parent 16bcdd0 commit 959e4bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/qt/DisplayGL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 959e4bf

Please sign in to comment.