From c9dc1e8f4d9682b9a8c64068ddd8e91a072dccd2 Mon Sep 17 00:00:00 2001 From: RSDuck Date: Mon, 17 Oct 2022 21:57:04 +0200 Subject: [PATCH] don't emit window updates when OGL display is used --- src/frontend/qt_sdl/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp index 9d660d99..a8add8ee 100644 --- a/src/frontend/qt_sdl/main.cpp +++ b/src/frontend/qt_sdl/main.cpp @@ -666,7 +666,7 @@ void EmuThread::run() if (EmuRunning == 0) break; winUpdateCount++; - if (winUpdateCount >= winUpdateFreq) + if (winUpdateCount >= winUpdateFreq && !oglContext) { emit windowUpdate(); winUpdateCount = 0;