From 639ce09c9d6cbddfb1be9af0343ba00acb023ccb Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Sat, 21 Jul 2018 19:33:16 +0200 Subject: [PATCH] Travis CI: Fix emscripten build breakage --- examples/others/rlgl_standalone.c | 4 ++++ 1 file changed, 4 insertions(+) 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 // Windows/Context and inputs management #define RED (Color){ 230, 41, 55, 255 } // Red