Torque3D/Engine/source/platformWin32/WinPlatformGL.cpp

15 lines
241 B
C++
Raw Normal View History

2014-11-08 16:41:17 +00:00
#if defined(TORQUE_OPENGL) && !defined(TORQUE_SDL)
#include "platform/platformGL.h"
#include "gfx/gl/tGL/tWGL.h"
void PlatformGL::setVSync(const int i)
{
2014-12-06 19:55:43 +00:00
if (WGLEW_EXT_swap_control)
{
wglSwapIntervalEXT(i);
}
2014-11-08 16:41:17 +00:00
}
2014-12-06 19:55:43 +00:00
#endif