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_npatch_drawing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/web/textures/textures_npatch_drawing.c') diff --git a/examples/web/textures/textures_npatch_drawing.c b/examples/web/textures/textures_npatch_drawing.c index ed272db..bf49177 100644 --- a/examples/web/textures/textures_npatch_drawing.c +++ b/examples/web/textures/textures_npatch_drawing.c @@ -66,7 +66,7 @@ int main(void) nPatchTexture = LoadTexture("resources/ninepatch_button.png"); #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