Corrected issue on web

This commit is contained in:
raysan5 2019-01-04 15:48:25 +01:00
parent 214aa0c1b0
commit 0bacc978c3

View file

@ -2381,7 +2381,9 @@ static bool InitGraphicsDevice(int width, int height)
// Try to disable GPU V-Sync by default, set framerate using SetTargetFPS()
// NOTE: V-Sync can be enabled by graphic driver configuration
#if !defined(PLATFORM_WEB)
glfwSwapInterval(0);
#endif
#if defined(PLATFORM_DESKTOP)
// Load OpenGL 3.3 extensions