From 1a6f8f5381a88e1301b209ce0ac8765d01143532 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 25 Apr 2021 17:07:54 -0700 Subject: [PATCH] Qt: Remove potentially deadlocking optimization --- CHANGES | 1 + src/platform/qt/DisplayGL.cpp | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/CHANGES b/CHANGES index 3da4e90b3..95970adbf 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,7 @@ Emulation fixes: - GBA SIO: Fix SI value for unattached MULTI mode Other fixes: - GBA: Fix out of bounds ROM accesses on patched ROMs smaller than 32 MiB + - Qt: Remove potentially deadlocking optimization 0.9.2: (2021-07-10) Emulation fixes: diff --git a/src/platform/qt/DisplayGL.cpp b/src/platform/qt/DisplayGL.cpp index e2614fcb7..534c10532 100644 --- a/src/platform/qt/DisplayGL.cpp +++ b/src/platform/qt/DisplayGL.cpp @@ -473,11 +473,6 @@ void PainterGL::draw() { performDraw(); m_backend->swap(m_backend); } - - QMutexLocker locker(&m_mutex); - if (!m_queue.isEmpty()) { - QTimer::singleShot(1, this, &PainterGL::draw); - } } void PainterGL::forceDraw() {