diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -1,12 +1,6 @@ #include "gameCommon.h" #include "game.h" -//#define PLATFORM_WEB - -#if defined(PLATFORM_WEB) - #include <emscripten/emscripten.h> -#endif - Game game; void updateFrame() { @@ -16,7 +10,7 @@ void updateFrame() { int main(int argc, char ** argv) { initGame(&game); -#if defined(PLATFORM_WEB) +#ifdef PLATFORM_WEB emscripten_set_main_loop(updateFrame, 0, 1); #else while (!WindowShouldClose()) { |