Corrected issue on web
This commit is contained in:
parent
214aa0c1b0
commit
0bacc978c3
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue