mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 15:19:53 -06:00
don't emit window updates when OGL display is used
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user