don't emit window updates when OGL display is used
This commit is contained in:
parent
494a943595
commit
c9dc1e8f4d
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue