summaryrefslogtreecommitdiff
path: root/opengl/libs/hooks.h
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2010-08-03 11:30:42 -0700
committer Android Git Automerger <android-git-automerger@android.com> 2010-08-03 11:30:42 -0700
commitd12a98e2b1eb3a2ae20eace8a7d4b5fa13bbedfb (patch)
tree2dfec4e2eb8ccb5cbcb358c0b3bf044a954f8d83 /opengl/libs/hooks.h
parent77c444dd2bdc9bb2d54fc58420d263a83018190c (diff)
parent9abce39a991a6bc1cfab4284b5448a4f676bb06f (diff)
am 9abce39a: Merge "fix [2421247] implement eglGetProcAddress(), needed in the ndk" into gingerbread
Merge commit '9abce39a991a6bc1cfab4284b5448a4f676bb06f' into gingerbread-plus-aosp * commit '9abce39a991a6bc1cfab4284b5448a4f676bb06f': fix [2421247] implement eglGetProcAddress(), needed in the ndk
Diffstat (limited to 'opengl/libs/hooks.h')
-rw-r--r--opengl/libs/hooks.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/opengl/libs/hooks.h b/opengl/libs/hooks.h
index f47f0930ba52..1ab58cc83349 100644
--- a/opengl/libs/hooks.h
+++ b/opengl/libs/hooks.h
@@ -37,7 +37,7 @@
#endif
#undef NELEM
#define NELEM(x) (sizeof(x)/sizeof(*(x)))
-#define MAX_NUMBER_OF_GL_EXTENSIONS 32
+#define MAX_NUMBER_OF_GL_EXTENSIONS 64
#if defined(HAVE_ANDROID_OS) && !USE_SLOW_BINDING && __OPTIMIZE__
@@ -86,7 +86,7 @@ struct gl_hooks_t {
#include "entries.in"
} gl;
struct gl_ext_t {
- void (*extensions[MAX_NUMBER_OF_GL_EXTENSIONS])(void);
+ __eglMustCastToProperFunctionPointerType extensions[MAX_NUMBER_OF_GL_EXTENSIONS];
} ext;
};
#undef GL_ENTRY