aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core.c b/src/core.c
index 2d607c3a..8844b1d3 100644
--- a/src/core.c
+++ b/src/core.c
@@ -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