mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-16 14:56:02 +00:00
Corrected issue on web
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user