mirror of
https://github.com/glfw/glfw.git
synced 2024-11-25 11:35:11 +00:00
Added GLFW_INCLUDE_ES3.
This commit is contained in:
parent
b48128f339
commit
a933d8c109
@ -133,6 +133,9 @@ instead of the regular OpenGL header.
|
||||
`GLFW_INCLUDE_ES2` makes the header include the OpenGL ES 2.0 `GLES2/gl2.h`
|
||||
header instead of the regular OpenGL header.
|
||||
|
||||
`GLFW_INCLUDE_ES3` makes the header include the OpenGL ES 3.0 `GLES3/gl3.h`
|
||||
header instead of the regular OpenGL header.
|
||||
|
||||
`GLFW_INCLUDE_GLU` makes the header include the GLU header. This only makes
|
||||
sense if you are using OpenGL.
|
||||
|
||||
|
@ -193,6 +193,8 @@ extern "C" {
|
||||
#include <GLES/gl.h>
|
||||
#elif defined(GLFW_INCLUDE_ES2)
|
||||
#include <GLES2/gl2.h>
|
||||
#elif defined(GLFW_INCLUDE_ES3)
|
||||
#include <GLES3/gl3.h>
|
||||
#else
|
||||
#include <GL/gl.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user