diff options
author | Sven Gothel <[email protected]> | 2012-06-26 11:36:07 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-06-26 11:36:07 +0200 |
commit | 9c4a77e4577eda94aff40165c880dfb7ec3ecfdd (patch) | |
tree | 96869634e873bfc122654e8ad7c7eaabd0a54a95 | |
parent | 8e0ddfedd2e200e3ef4d9f59c031f8f979d231be (diff) |
Adapt to gluegen commit 9a71703904ebfec343fb2c7266343d37a2e4c3db
-rw-r--r-- | src/com/jogamp/opencl/JOCLJNILibLoader.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/jogamp/opencl/JOCLJNILibLoader.java b/src/com/jogamp/opencl/JOCLJNILibLoader.java index 73c42d2d..83ca22d6 100644 --- a/src/com/jogamp/opencl/JOCLJNILibLoader.java +++ b/src/com/jogamp/opencl/JOCLJNILibLoader.java @@ -56,7 +56,8 @@ class JOCLJNILibLoader extends JNILibLoaderBase { // eg.: jogamp.opengl.GLDynamicLibraryBundleInfo etc. final String libName = "jocl"; if(TempJarCache.isInitialized() && null == TempJarCache.findLibrary(libName)) { - addNativeJarLibs(JOCLJNILibLoader.class, "jocl", null ); + // only: jocl.jar -> jocl-natives-<os.and.arch>.jar + addNativeJarLibs(new Class<?>[] { JOCLJNILibLoader.class }, null, null ); } loadLibrary(libName, false, JOCLJNILibLoader.class.getClassLoader()); NativeLibrary res = NativeLibrary.open("OpenCL", JOCLJNILibLoader.class.getClassLoader()); |