From f439828dc068974ddc161cc3469ac489a93bbabc Mon Sep 17 00:00:00 2001
From: nathansmithsmith <thenathansmithsmith@gmail.com>
Date: Sat, 23 Dec 2023 17:04:05 -0700
Subject: Working on the web assembly openglES issue

---
 src/main.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

(limited to 'src/main.c')

diff --git a/src/main.c b/src/main.c
index d827561..6243100 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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()) {
-- 
cgit v1.2.3