From a933d8c1093dc9172ca74b9d26251a7c3974095d Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 14 Feb 2013 19:28:59 +0100 Subject: [PATCH] Added GLFW_INCLUDE_ES3. --- README.md | 3 +++ include/GL/glfw3.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index c88a8daa..e0168311 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/include/GL/glfw3.h b/include/GL/glfw3.h index 075a64a2..af10e366 100644 --- a/include/GL/glfw3.h +++ b/include/GL/glfw3.h @@ -193,6 +193,8 @@ extern "C" { #include #elif defined(GLFW_INCLUDE_ES2) #include + #elif defined(GLFW_INCLUDE_ES3) + #include #else #include #endif