Loading opengl/libs/EGL/egl.cpp +1 −5 Original line number Original line Diff line number Diff line Loading @@ -143,6 +143,7 @@ static void gl_unimplemented() { static char const * const gl_names[] = { static char const * const gl_names[] = { #include "gl_entries.in" #include "gl_entries.in" #include "glext_entries.in" NULL NULL }; }; Loading Loading @@ -315,11 +316,6 @@ void *load_driver(const char* driver, gl_hooks_t* hooks) api = gl_names; api = gl_names; while (*api) { while (*api) { char const * name = *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 f = (__eglMustCastToProperFunctionPointerType)dlsym(dso, name); (__eglMustCastToProperFunctionPointerType)dlsym(dso, name); if (f == NULL) { if (f == NULL) { Loading opengl/libs/GLES_CM/gl.cpp +3 −2 Original line number Original line Diff line number Diff line Loading @@ -101,6 +101,7 @@ void glVertexPointerBounds(GLint size, GLenum type, extern "C" { extern "C" { #include "gl_api.in" #include "gl_api.in" #include "glext_api.in" } } #undef API_ENTRY #undef API_ENTRY Loading @@ -109,8 +110,8 @@ extern "C" { /* /* * These GL calls are special because they need to EGL to retrieve some * These GL calls are special because they need to call into EGL to retrieve * informations before they can execute. * some informations before they can execute. */ */ Loading Loading
opengl/libs/EGL/egl.cpp +1 −5 Original line number Original line Diff line number Diff line Loading @@ -143,6 +143,7 @@ static void gl_unimplemented() { static char const * const gl_names[] = { static char const * const gl_names[] = { #include "gl_entries.in" #include "gl_entries.in" #include "glext_entries.in" NULL NULL }; }; Loading Loading @@ -315,11 +316,6 @@ void *load_driver(const char* driver, gl_hooks_t* hooks) api = gl_names; api = gl_names; while (*api) { while (*api) { char const * name = *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 f = (__eglMustCastToProperFunctionPointerType)dlsym(dso, name); (__eglMustCastToProperFunctionPointerType)dlsym(dso, name); if (f == NULL) { if (f == NULL) { Loading
opengl/libs/GLES_CM/gl.cpp +3 −2 Original line number Original line Diff line number Diff line Loading @@ -101,6 +101,7 @@ void glVertexPointerBounds(GLint size, GLenum type, extern "C" { extern "C" { #include "gl_api.in" #include "gl_api.in" #include "glext_api.in" } } #undef API_ENTRY #undef API_ENTRY Loading @@ -109,8 +110,8 @@ extern "C" { /* /* * These GL calls are special because they need to EGL to retrieve some * These GL calls are special because they need to call into EGL to retrieve * informations before they can execute. * some informations before they can execute. */ */ Loading