From 0bacc978c39a234da4a2b73ce3cb5b43e072a103 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Fri, 4 Jan 2019 15:48:25 +0100 Subject: Corrected issue on web --- src/core.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 -- cgit v1.2.3