From 58469fd2343039c195a88d0b171ba9af2dce40be Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 22 Aug 2011 20:38:52 +0200 Subject: Fix Bug 510 w/ Wade Walker's proposal. However, the EGL global lookup setting will be changed in JOGL as well --- src/java/jogamp/common/os/WindowsDynamicLinkerImpl.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/java/jogamp/common') 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) { -- cgit v1.2.3