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:
parent
c68a092207
commit
8767a82dfc
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user