aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/classes
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-05-04 05:29:27 +0200
committerSven Gothel <[email protected]>2012-05-04 05:29:27 +0200
commit137e58ba482e20822ff313716e0d2d9d56587dd9 (patch)
treed6aa944fadd0c0e3166efda9a367515dcfb1485f /src/newt/classes
parentd6d01f747a096dd22fc01226d01c57b99ed9d2a5 (diff)
Adapt to GlueGen commit cc76889a6fe96cffb91c9a3aa7934878c0ecd97e: Use ClassLoader to find JNI native libraries
Diffstat (limited to 'src/newt/classes')
-rw-r--r--src/newt/classes/jogamp/newt/NEWTJNILibLoader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/classes/jogamp/newt/NEWTJNILibLoader.java b/src/newt/classes/jogamp/newt/NEWTJNILibLoader.java
index 78707e7cf..2db9d8d05 100644
--- a/src/newt/classes/jogamp/newt/NEWTJNILibLoader.java
+++ b/src/newt/classes/jogamp/newt/NEWTJNILibLoader.java
@@ -56,7 +56,7 @@ public class NEWTJNILibLoader extends JNILibLoaderBase {
if(TempJarCache.isInitialized() && null == TempJarCache.findLibrary(libName)) {
addNativeJarLibs(NEWTJNILibLoader.class, "jogl-all", new String[] { "nativewindow", "newt" } );
}
- loadLibrary(libName, false);
+ loadLibrary(libName, false, NEWTJNILibLoader.class.getClassLoader());
return null;
}
});