diff options
author | 2012-01-28 14:20:59 -0800 | |
---|---|---|
committer | 2012-01-28 20:41:35 -0800 | |
commit | 780018ded1caf8f3673c25c858656792f2a45dc4 (patch) | |
tree | 58d2dcccc7e4a23704da417beea7bc2a934a7b93 /opengl/libs/hooks.h | |
parent | 815af1ff595a6c028f28c16139a9e64ad98507a3 (diff) |
update GLES headers and add support for corresponding new extensions.
Change-Id: I554d9659113b4721b748ee5c1a3b1ca82b11d75e
Diffstat (limited to 'opengl/libs/hooks.h')
-rw-r--r-- | opengl/libs/hooks.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/opengl/libs/hooks.h b/opengl/libs/hooks.h index 7ac88cdb7ed5..8b1b3898f678 100644 --- a/opengl/libs/hooks.h +++ b/opengl/libs/hooks.h @@ -37,7 +37,12 @@ #endif #undef NELEM #define NELEM(x) (sizeof(x)/sizeof(*(x))) -#define MAX_NUMBER_OF_GL_EXTENSIONS 64 + +// maximum number of GL extensions that can be used simultaneously in +// a given process. this limitation exists because we need to have +// a static function for each extension and currently these static functions +// are generated at compile time. +#define MAX_NUMBER_OF_GL_EXTENSIONS 256 #if defined(HAVE_ANDROID_OS) && !USE_SLOW_BINDING && __OPTIMIZE__ |