aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-03-28 01:44:42 +0100
committerSven Gothel <[email protected]>2010-03-28 01:44:42 +0100
commit2dc67e8f8faeb418061e0dd450b37d4cb3ce4c2f (patch)
treefa95fe45a1c721438cc8e6859ed76402591e7cc5
parentcf95674e16d34a85191d3af0a35d1357e011fcac (diff)
Adaption for gluegen a41f4d504d2f8cf58114d570d23f757ab2659cfc
-rwxr-xr-xmake/config/jogl/egl.cfg2
-rwxr-xr-xsrc/jogl/classes/com/sun/opengl/impl/egl/EGLDynamicLookupHelper.java2
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;
}