don't emit window updates when OGL display is used

This commit is contained in:
RSDuck 2022-10-17 21:57:04 +02:00
parent 494a943595
commit c9dc1e8f4d
1 changed files with 1 additions and 1 deletions

View File

@ -666,7 +666,7 @@ void EmuThread::run()
if (EmuRunning == 0) break; if (EmuRunning == 0) break;
winUpdateCount++; winUpdateCount++;
if (winUpdateCount >= winUpdateFreq) if (winUpdateCount >= winUpdateFreq && !oglContext)
{ {
emit windowUpdate(); emit windowUpdate();
winUpdateCount = 0; winUpdateCount = 0;