浏览代码
Travis CI: Fix emscripten build breakage
pull/583/head
2.0.0
Ahmad Fatoum
6 年前
找不到此签名对应的密钥
GPG 密钥 ID: C3EAC3DE9321D59B
共有
1 个文件被更改,包括
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 |
|
|
|