From 2820bd4eda4c75457007f11eb9d98da9bff24a27 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Wed, 27 May 2009 20:38:06 -0700 Subject: Added most of the support needed for GLES 2.x --- opengl/libs/hooks.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'opengl/libs/hooks.h') 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 #include + #include #include +#include +#include + #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); -- cgit v1.2.3-59-g8ed1b