From b12fe7f98a9b523129c310d46698f430d17a8138 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 20 Sep 2011 04:58:01 +0200 Subject: Remove redundant: NativeLibrary.ensureNativeLibLoaded() --- src/java/jogamp/common/os/MachineDescriptionRuntime.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/java/jogamp') diff --git a/src/java/jogamp/common/os/MachineDescriptionRuntime.java b/src/java/jogamp/common/os/MachineDescriptionRuntime.java index bf49105..eeb2c1b 100644 --- a/src/java/jogamp/common/os/MachineDescriptionRuntime.java +++ b/src/java/jogamp/common/os/MachineDescriptionRuntime.java @@ -32,6 +32,7 @@ import com.jogamp.common.os.MachineDescription; import com.jogamp.common.os.NativeLibrary; import com.jogamp.common.os.Platform; import com.jogamp.common.os.MachineDescription.StaticConfig; +import com.jogamp.gluegen.runtime.NativeLibLoader; /** * Runtime MachineDescription @@ -84,7 +85,7 @@ public class MachineDescriptionRuntime { } private static MachineDescription getRuntimeImpl() { try { - NativeLibrary.ensureNativeLibLoaded(); + NativeLibLoader.loadGlueGenRT(); } catch (UnsatisfiedLinkError err) { return null; } -- cgit v1.2.3