summaryrefslogtreecommitdiffhomepage
path: root/src/example.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/example.c')
-rw-r--r--src/example.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/example.c b/src/example.c
index e6d76c7..4bc14e7 100644
--- a/src/example.c
+++ b/src/example.c
@@ -17,8 +17,10 @@ mrb_c_method(mrb_state *mrb, mrb_value self)
InitWindow(screenWidth, screenHeight, "raylib [core] example - basic window");
#if defined(PLATFORM_WEB)
+ printf("Web!");
emscripten_set_main_loop(UpdateDrawFrame, 0, 1);
#else
+ printf("Desktop!");
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------