This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
raylib-src
mirror of
https://github.com/raysan5/raylib
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
24
Wiki
Activity
Browse Source
Travis CI: Fix emscripten build breakage
pull/583/head
2.0.0
Ahmad Fatoum
6 years ago
parent
3632b160d5
commit
639ce09c9d
No known key found for this signature in database
GPG Key ID:
C3EAC3DE9321D59B
1 changed files
with
4 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
examples/others/rlgl_standalone.c
+ 4
- 0
examples/others/rlgl_standalone.c
View File
@ -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
Write
Preview
Loading…
Cancel
Save