summaryrefslogtreecommitdiffhomepage
path: root/examples/web/core/core_input_keys.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/web/core/core_input_keys.c')
-rw-r--r--examples/web/core/core_input_keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/web/core/core_input_keys.c b/examples/web/core/core_input_keys.c
index 259009c..aad770d 100644
--- a/examples/web/core/core_input_keys.c
+++ b/examples/web/core/core_input_keys.c
@@ -40,7 +40,7 @@ int main(void)
ballPosition = (Vector2){ (float)screenWidth/2, (float)screenHeight/2 };
#if defined(PLATFORM_WEB)
- emscripten_set_main_loop(UpdateDrawFrame, 0, 1);
+ emscripten_set_main_loop(UpdateDrawFrame, 60, 1);
#else
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------