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_image_loading.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/web/textures/textures_image_loading.c') diff --git a/examples/web/textures/textures_image_loading.c b/examples/web/textures/textures_image_loading.c index f4a39fe..7b9a619 100644 --- a/examples/web/textures/textures_image_loading.c +++ b/examples/web/textures/textures_image_loading.c @@ -46,7 +46,7 @@ int main(void) UnloadImage(image); // Once image has been converted to texture and uploaded to VRAM, it can be unloaded from RAM #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