Fixed 60Hz timing on GLX

This commit is contained in:
Jack Andersen
2015-11-16 18:20:11 -10:00
parent c5db148e98
commit 49da287791
2 changed files with 70 additions and 33 deletions

View File

@@ -13,14 +13,6 @@ void GLXExtensionCheck()
Log.report(LogVisor::FatalError, "swap_control not available");
}
void GLXWaitForVSync()
{
unsigned int sync;
int err = glXWaitVideoSyncSGI(1, 0, &sync);
if (err)
Log.report(LogVisor::FatalError, "wait err");
}
void GLXEnableVSync(Display* disp, GLXWindow drawable)
{
if (GLXEW_EXT_swap_control)