mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-17 07:16:03 +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()
|
// Try to disable GPU V-Sync by default, set framerate using SetTargetFPS()
|
||||||
// NOTE: V-Sync can be enabled by graphic driver configuration
|
// NOTE: V-Sync can be enabled by graphic driver configuration
|
||||||
|
#if !defined(PLATFORM_WEB)
|
||||||
glfwSwapInterval(0);
|
glfwSwapInterval(0);
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(PLATFORM_DESKTOP)
|
#if defined(PLATFORM_DESKTOP)
|
||||||
// Load OpenGL 3.3 extensions
|
// Load OpenGL 3.3 extensions
|
||||||
|
Reference in New Issue
Block a user