diff options
-rwxr-xr-x | make/config/jogl/egl.cfg | 2 | ||||
-rwxr-xr-x | src/jogl/classes/com/sun/opengl/impl/egl/EGLDynamicLookupHelper.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/make/config/jogl/egl.cfg b/make/config/jogl/egl.cfg index 26979fb6d..086152b4f 100755 --- a/make/config/jogl/egl.cfg +++ b/make/config/jogl/egl.cfg @@ -43,7 +43,7 @@ CustomJavaCode EGL { CustomJavaCode EGL if (eglGetProcAddressHandle == 0) { CustomJavaCode EGL throw new GLException("Passed null pointer for method \"eglGetProcAddress\""); CustomJavaCode EGL } -CustomJavaCode EGL return dispatch_eglGetProcAddress0(procname, eglGetProcAddressHandle); +CustomJavaCode EGL return dispatch_eglGetProcAddress1(procname, eglGetProcAddressHandle); CustomJavaCode EGL } diff --git a/src/jogl/classes/com/sun/opengl/impl/egl/EGLDynamicLookupHelper.java b/src/jogl/classes/com/sun/opengl/impl/egl/EGLDynamicLookupHelper.java index 00973de89..fed07a15d 100755 --- a/src/jogl/classes/com/sun/opengl/impl/egl/EGLDynamicLookupHelper.java +++ b/src/jogl/classes/com/sun/opengl/impl/egl/EGLDynamicLookupHelper.java @@ -226,7 +226,7 @@ public abstract class EGLDynamicLookupHelper implements DynamicLookupHelper { // Look up this function name in all known libraries for (Iterator iter = glesLibraries.iterator(); iter.hasNext(); ) { NativeLibrary lib = (NativeLibrary) iter.next(); - long addr = lib.lookupFunction(glFuncName); + long addr = lib.dynamicLookupFunction(glFuncName); if (addr != 0) { return addr; } |