Go to the documentation of this file. 23 #ifndef RGLGEN_HEADERS_H__ 24 #define RGLGEN_HEADERS_H__ 28 #include <EGL/eglext.h> 33 #if defined(HAVE_OPENGLES3) 34 #include <OpenGLES/ES3/gl.h> 35 #include <OpenGLES/ES3/glext.h> 37 #include <OpenGLES/ES2/gl.h> 38 #include <OpenGLES/ES2/glext.h> 41 #elif defined(__APPLE__) 42 #include <OpenGL/gl.h> 43 #include <OpenGL/glext.h> 44 #elif defined(HAVE_PSGL) 45 #include <PSGL/psgl.h> 46 #include <GLES/glext.h> 47 #elif defined(HAVE_OPENGL_MODERN) 49 #include <GL3/gl3ext.h> 50 #elif defined(HAVE_OPENGLES3) 51 #include <GLES3/gl3.h> 53 #include <GLES2/gl2ext.h> 54 #elif defined(HAVE_OPENGLES2) 55 #include <GLES2/gl2.h> 56 #include <GLES2/gl2ext.h> 57 #elif defined(HAVE_OPENGLES1) 59 #include <GLES/glext.h> 61 #if defined(_WIN32) && !defined(_XBOX) 62 #define WIN32_LEAN_AND_MEAN 75 #ifndef GL_MAP_WRITE_BIT 76 #define GL_MAP_WRITE_BIT 0x0002 79 #ifndef GL_MAP_INVALIDATE_BUFFER_BIT 80 #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 83 #ifndef GL_RED_INTEGER 84 #define GL_RED_INTEGER 0x8D94