1
0
Fork 0
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:
Camilla Berglund 2012-11-10 08:50:42 -08:00
commit 8d2043821f

View File

@ -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