torque windows integration of epoxy

This commit is contained in:
Jeff Hutchinson 2016-03-25 13:41:38 -04:00
parent b89d2a116e
commit 6e692ea9cf
5 changed files with 18 additions and 12 deletions

View file

@ -5,10 +5,10 @@
void PlatformGL::setVSync(const int i)
{
if (WGLEW_EXT_swap_control)
{
wglSwapIntervalEXT(i);
}
if (gglHasWExtension(wglGetCurrentDC(), EXT_swap_control))
{
wglSwapIntervalEXT(i);
}
}
#endif