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