Added macro for including the GLES2 header.

This commit is contained in:
Camilla Berglund
2012-07-19 23:20:47 +02:00
parent be12cbca15
commit 3fd17741bc
2 changed files with 3 additions and 0 deletions

View File

@@ -161,6 +161,8 @@ extern "C" {
#else
#if defined(GLFW_INCLUDE_GL3)
#include <GL3/gl3.h>
#elif defined(GLFW_INCLUDE_ES2)
#include <GLES2/gl2.h>
#else
#include <GL/gl.h>
#endif