diff options
author | 2010-08-02 17:34:32 -0700 | |
---|---|---|
committer | 2010-08-02 18:23:36 -0700 | |
commit | 3944eab21c4e9511850d8743da498c2cf886d8a6 (patch) | |
tree | c1cd17ffaaa3c19685c94f251fce93e24b77fb05 /opengl/libs/hooks.h | |
parent | bd2de0e42adc3fad30d86ed2c8d0488bc9501f36 (diff) |
fix [2421247] implement eglGetProcAddress(), needed in the ndk
Change-Id: I5027a27b43c0dd449a404024087853ca05bb8e4e
Diffstat (limited to 'opengl/libs/hooks.h')
-rw-r--r-- | opengl/libs/hooks.h | 4 |
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 |