mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 12:44:46 +00:00
15 lines
241 B
C++
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
|