mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
torque windows integration of epoxy
This commit is contained in:
parent
b89d2a116e
commit
6e692ea9cf
5 changed files with 18 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue