diff options
author | Mathias Agopian <mathias@google.com> | 2009-04-23 18:05:44 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-04-23 18:05:44 -0700 |
commit | 1feecd831003e693df95521a2baae4b9aec28843 (patch) | |
tree | 3b0af8634efd41185ced91a7a77996e9075816b9 /opengl/libs/EGL | |
parent | 24b62d0c41cf37ade751fe96a4888fbe7f61eb5a (diff) | |
download | frameworks_base-1feecd831003e693df95521a2baae4b9aec28843.zip frameworks_base-1feecd831003e693df95521a2baae4b9aec28843.tar.gz frameworks_base-1feecd831003e693df95521a2baae4b9aec28843.tar.bz2 |
use gl.h to generate the *.in files. we are now supporting the full gl.h and glext.h apis.
Diffstat (limited to 'opengl/libs/EGL')
-rw-r--r-- | opengl/libs/EGL/egl.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/opengl/libs/EGL/egl.cpp b/opengl/libs/EGL/egl.cpp index 56d5549..6fc0fed 100644 --- a/opengl/libs/EGL/egl.cpp +++ b/opengl/libs/EGL/egl.cpp @@ -143,6 +143,7 @@ static void gl_unimplemented() { static char const * const gl_names[] = { #include "gl_entries.in" + #include "glext_entries.in" NULL }; @@ -315,11 +316,6 @@ void *load_driver(const char* driver, gl_hooks_t* hooks) api = gl_names; while (*api) { char const * name = *api; - // if the function starts with '__' it's a special case that - // uses a wrapper. skip the '__' when looking into the real lib. - if (name[0] == '_' && name[1] == '_') { - name += 2; - } __eglMustCastToProperFunctionPointerType f = (__eglMustCastToProperFunctionPointerType)dlsym(dso, name); if (f == NULL) { |