mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-22 17:11:45 +00:00
Travis CI: Fix emscripten build breakage
This commit is contained in:
@@ -48,6 +48,10 @@
|
|||||||
#define RLGL_STANDALONE
|
#define RLGL_STANDALONE
|
||||||
#include "rlgl.h" // OpenGL 1.1 immediate-mode style coding
|
#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
|
#include <GLFW/glfw3.h> // Windows/Context and inputs management
|
||||||
|
|
||||||
#define RED (Color){ 230, 41, 55, 255 } // Red
|
#define RED (Color){ 230, 41, 55, 255 } // Red
|
||||||
|
Reference in New Issue
Block a user