mirror of
https://github.com/glfw/glfw.git
synced 2024-11-29 05:22:00 +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`
|
`GLFW_INCLUDE_ES2` makes the header include the OpenGL ES 2.0 `GLES2/gl2.h`
|
||||||
header instead of the regular OpenGL header.
|
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
|
`GLFW_INCLUDE_GLU` makes the header include the GLU header. This only makes
|
||||||
sense if you are using OpenGL.
|
sense if you are using OpenGL.
|
||||||
|
|
||||||
|
@ -193,6 +193,8 @@ extern "C" {
|
|||||||
#include <GLES/gl.h>
|
#include <GLES/gl.h>
|
||||||
#elif defined(GLFW_INCLUDE_ES2)
|
#elif defined(GLFW_INCLUDE_ES2)
|
||||||
#include <GLES2/gl2.h>
|
#include <GLES2/gl2.h>
|
||||||
|
#elif defined(GLFW_INCLUDE_ES3)
|
||||||
|
#include <GLES3/gl3.h>
|
||||||
#else
|
#else
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user