mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 10:48:51 -05:00
Merge pull request #23 from Cloudef/EGL
Added macro for inclusion of GLESv1 header.
This commit is contained in:
commit
8d2043821f
|
@ -153,6 +153,8 @@ extern "C" {
|
||||||
#else
|
#else
|
||||||
#if defined(GLFW_INCLUDE_GL3)
|
#if defined(GLFW_INCLUDE_GL3)
|
||||||
#include <GL3/gl3.h>
|
#include <GL3/gl3.h>
|
||||||
|
#elif defined(GLFW_INCLUDE_ES1)
|
||||||
|
#include <GLES/gl.h>
|
||||||
#elif defined(GLFW_INCLUDE_ES2)
|
#elif defined(GLFW_INCLUDE_ES2)
|
||||||
#include <GLES2/gl2.h>
|
#include <GLES2/gl2.h>
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user