diff options
| author | raysan5 <raysan5@gmail.com> | 2019-01-04 15:48:25 +0100 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2019-01-04 15:48:25 +0100 |
| commit | 0bacc978c39a234da4a2b73ce3cb5b43e072a103 (patch) | |
| tree | 06b0d3dd9dea3c344289f64a344e01720588ad47 /src | |
| parent | 214aa0c1b0d5c766d22bbb1069ecfb3a78373577 (diff) | |
| download | raylib-0bacc978c39a234da4a2b73ce3cb5b43e072a103.tar.gz raylib-0bacc978c39a234da4a2b73ce3cb5b43e072a103.zip | |
Corrected issue on web
Diffstat (limited to 'src')
| -rw-r--r-- | src/core.c | 2 |
1 files changed, 2 insertions, 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() // 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 |
