diff options
author | Sven Gothel <[email protected]> | 2011-08-22 20:38:52 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-08-22 20:38:52 +0200 |
commit | 58469fd2343039c195a88d0b171ba9af2dce40be (patch) | |
tree | 881e5040119b5390f663ca82f3839a9929d73c19 /src/java/jogamp/common/os | |
parent | 5a80d1c62159402efe10a645445e6487b8bc989d (diff) |
Fix Bug 510 w/ Wade Walker's proposal. However, the EGL global lookup setting will be changed in JOGL as well
Diffstat (limited to 'src/java/jogamp/common/os')
-rwxr-xr-x | src/java/jogamp/common/os/WindowsDynamicLinkerImpl.java | 8 |
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) { |