summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAhmad Fatoum <[email protected]>2018-07-21 19:33:16 +0200
committerAhmad Fatoum <[email protected]>2018-07-21 19:42:23 +0200
commit639ce09c9d6cbddfb1be9af0343ba00acb023ccb (patch)
tree3fd3457b14efde001fc0e09319fe2a3cc9614281
parent3632b160d567acb2b473ca45df78e6b9331a0b22 (diff)
downloadraylib-2.0.0.tar.gz
raylib-2.0.0.zip
Travis CI: Fix emscripten build breakage2.0.0
-rw-r--r--examples/others/rlgl_standalone.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/others/rlgl_standalone.c b/examples/others/rlgl_standalone.c
index 7911e7fe..c62f7d81 100644
--- a/examples/others/rlgl_standalone.c
+++ b/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