diff --git a/Engine/source/platformWin32/WinPlatformGL.cpp b/Engine/source/platformWin32/WinPlatformGL.cpp index 5413d37b7..a85245ef1 100644 --- a/Engine/source/platformWin32/WinPlatformGL.cpp +++ b/Engine/source/platformWin32/WinPlatformGL.cpp @@ -5,7 +5,10 @@ void PlatformGL::setVSync(const int i) { - wglSwapIntervalEXT( i ); + if (WGLEW_EXT_swap_control) + { + wglSwapIntervalEXT(i); + } } -#endif \ No newline at end of file +#endif