mirror of https://github.com/snes9xgit/snes9x.git
GTK: OpenGL: Don't spin with sync_control option.
This commit is contained in:
parent
e87b742787
commit
51edec756f
|
@ -316,7 +316,10 @@ gboolean S9xIdleFunc (gpointer data)
|
|||
S9xProcessEvents (true);
|
||||
|
||||
if (!S9xDisplayDriverIsReady ())
|
||||
{
|
||||
usleep(100);
|
||||
return true;
|
||||
}
|
||||
|
||||
S9xThrottle ();
|
||||
|
||||
|
|
Loading…
Reference in New Issue