From 83ab2cb01746a869b625c9d84fbb4737146b73a9 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Thu, 24 Dec 2020 13:26:30 +0100 Subject: Updated Web examples to raylib 3.5 --- examples/web/textures/textures_rectangle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/web/textures/textures_rectangle.c') diff --git a/examples/web/textures/textures_rectangle.c b/examples/web/textures/textures_rectangle.c index bb230d4..cb2b7d5 100644 --- a/examples/web/textures/textures_rectangle.c +++ b/examples/web/textures/textures_rectangle.c @@ -56,7 +56,7 @@ int main(void) frameRec = (Rectangle){ 0, 0, scarfy.width/6, scarfy.height }; #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 //-------------------------------------------------------------------------------------- -- cgit v1.2.3