diff options
author | 2009-05-27 20:38:06 -0700 | |
---|---|---|
committer | 2009-05-27 20:38:06 -0700 | |
commit | 2820bd4eda4c75457007f11eb9d98da9bff24a27 (patch) | |
tree | 4b076f3e7ffbe4ebf272b2d9b6733b3ac86f9988 /opengl/libs/hooks.h | |
parent | f5fbc7983a85f42ec891decbae3581185c8428ab (diff) |
Added most of the support needed for GLES 2.x
Diffstat (limited to 'opengl/libs/hooks.h')
-rw-r--r-- | opengl/libs/hooks.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/opengl/libs/hooks.h b/opengl/libs/hooks.h index fd9725468a20..1257785c03d5 100644 --- a/opengl/libs/hooks.h +++ b/opengl/libs/hooks.h @@ -23,9 +23,13 @@ #include <EGL/egl.h> #include <EGL/eglext.h> + #include <GLES/gl.h> #include <GLES/glext.h> +#include <GLES2/gl2.h> +#include <GLES2/gl2ext.h> + #if !defined(__arm__) #define USE_SLOW_BINDING 1 #else @@ -76,11 +80,15 @@ enum { struct gl_hooks_t { struct gl_t { - #include "gl_entries.in" - #include "glext_entries.in" + #include "GLES_CM/gl_entries.in" + #include "GLES_CM/glext_entries.in" } gl; + struct gl2_t { + #include "GLES2/gl2_entries.in" + #include "GLES2/gl2ext_entries.in" + } gl2; struct egl_t { - #include "egl_entries.in" + #include "EGL/egl_entries.in" } egl; struct gl_ext_t { void (*extensions[MAX_NUMBER_OF_GL_EXTENSIONS])(void); |