Added most of the support needed for GLES 2.x
diff --git a/opengl/libs/hooks.h b/opengl/libs/hooks.h
index fd97254..1257785 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 @@
 
 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);