Ray 5 years ago
parent
commit
3cd9e3896a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/others/rlgl_standalone.c

+ 2 - 2
examples/others/rlgl_standalone.c

@@ -48,8 +48,8 @@
 #define RLGL_SUPPORT_TRACELOG
 #include "rlgl.h"               // OpenGL 1.1 immediate-mode style coding
 
-#ifdef __EMSCRIPTEN__
-#define GLFW_INCLUDE_ES2
+#if defined(__EMSCRIPTEN__)
+    #define GLFW_INCLUDE_ES2
 #endif
 
 #include <GLFW/glfw3.h>         // Windows/Context and inputs management