mirror of https://github.com/snes9xgit/snes9x.git
Yield before glFinish to lighten load with frame sync. Helps cases where glFinish is a busy loop.
This commit is contained in:
parent
a7d6cb6164
commit
b8bdd151a2
|
@ -923,6 +923,8 @@ S9xOpenGLDisplayDriver::gl_swap (void)
|
|||
|
||||
if (config->sync_every_frame)
|
||||
{
|
||||
usleep (0);
|
||||
glXWaitX ();
|
||||
glFinish ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue