1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Implement vsync for Zilmar-specs build.

This commit is contained in:
Sergey Lipskiy 2017-02-20 15:56:46 +07:00
parent c68a092207
commit 8767a82dfc

View File

@ -123,6 +123,11 @@ bool DisplayWindowWindows::_start()
hRC = coreHrc;
}
}
if (strstr(wglextensions, "WGL_EXT_swap_control") != nullptr) {
PFNWGLSWAPINTERVALEXTPROC wglSwapIntervalEXT = (PFNWGLSWAPINTERVALEXTPROC)wglGetProcAddress("wglSwapIntervalEXT");
wglSwapIntervalEXT(config.video.verticalSync);
}
}
return _resizeWindow();