aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-08-22 20:38:52 +0200
committerSven Gothel <[email protected]>2011-08-22 20:38:52 +0200
commit58469fd2343039c195a88d0b171ba9af2dce40be (patch)
tree881e5040119b5390f663ca82f3839a9929d73c19
parent5a80d1c62159402efe10a645445e6487b8bc989d (diff)
Fix Bug 510 w/ Wade Walker's proposal. However, the EGL global lookup setting will be changed in JOGL as well
-rwxr-xr-xsrc/java/jogamp/common/os/WindowsDynamicLinkerImpl.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/java/jogamp/common/os/WindowsDynamicLinkerImpl.java b/src/java/jogamp/common/os/WindowsDynamicLinkerImpl.java
index 09f38df..f5229f4 100755
--- a/src/java/jogamp/common/os/WindowsDynamicLinkerImpl.java
+++ b/src/java/jogamp/common/os/WindowsDynamicLinkerImpl.java
@@ -62,13 +62,17 @@ public class WindowsDynamicLinkerImpl implements DynamicLinker {
}
}
if(DEBUG) {
- System.err.println("WindowsDynamicLinkerImpl.lookupSymbol(0x"+Long.toHexString(libraryHandle)+", "+symbolName+") -> "+_symbolName+", 0x"+Long.toHexString(addr));
+ System.err.println("WindowsDynamicLinkerImpl.lookupSymbol(0x"+Long.toHexString(libraryHandle)+", "+symbolName+") -> "+_symbolName+", 0x"+Long.toHexString(addr));
}
return addr;
}
public long lookupSymbolGlobal(String symbolName) {
- throw new RuntimeException("lookupSymbolGlobal: Not supported on Windows");
+ if(DEBUG) {
+ System.err.println("lookupSymbolGlobal: Not supported on Windows");
+ }
+ // allow DynamicLibraryBundle to continue w/ local libs
+ return 0;
}
public void closeLibrary(long libraryHandle) {