summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
author_Tradam <[email protected]>2022-01-13 14:23:36 -0500
committerGitHub <[email protected]>2022-01-13 14:23:36 -0500
commit79708a028f71abc2e178c5aace7613fa5071bc14 (patch)
treef8ba483ae2f02eaf35d739f3f6c0918c055f61b8 /src
parent1f3c20a0ceb36758bf4f4b109594b7cad877560e (diff)
downloadsample-mruby-gem-79708a028f71abc2e178c5aace7613fa5071bc14.tar.gz
sample-mruby-gem-79708a028f71abc2e178c5aace7613fa5071bc14.zip
.
Diffstat (limited to 'src')
-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
//--------------------------------------------------------------------------------------