Explorar o código

Travis CI: Fix emscripten build breakage

Ahmad Fatoum %!s(int64=7) %!d(string=hai) anos
pai
achega
639ce09c9d
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      examples/others/rlgl_standalone.c

+ 4 - 0
examples/others/rlgl_standalone.c

@@ -48,6 +48,10 @@
 #define RLGL_STANDALONE
 #include "rlgl.h"               // OpenGL 1.1 immediate-mode style coding
 
+#ifdef __EMSCRIPTEN__
+#define GLFW_INCLUDE_ES2
+#endif
+
 #include <GLFW/glfw3.h>         // Windows/Context and inputs management
 
 #define RED        (Color){ 230, 41, 55, 255 }     // Red