Torque3D/Engine/source/platformWin32/WinPlatformGL.cpp
2014-12-06 20:55:43 +01:00

15 lines
241 B
C++

#if defined(TORQUE_OPENGL) && !defined(TORQUE_SDL)
#include "platform/platformGL.h"
#include "gfx/gl/tGL/tWGL.h"
void PlatformGL::setVSync(const int i)
{
if (WGLEW_EXT_swap_control)
{
wglSwapIntervalEXT(i);
}
}
#endif