diff options
Diffstat (limited to 'src/com/jogamp/opencl/JOCLJNILibLoader.java')
-rw-r--r-- | src/com/jogamp/opencl/JOCLJNILibLoader.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/jogamp/opencl/JOCLJNILibLoader.java b/src/com/jogamp/opencl/JOCLJNILibLoader.java index 61436aa5..5e2eae37 100644 --- a/src/com/jogamp/opencl/JOCLJNILibLoader.java +++ b/src/com/jogamp/opencl/JOCLJNILibLoader.java @@ -12,9 +12,10 @@ class JOCLJNILibLoader extends JNILibLoaderBase { /** * Loads the native binding and returns the OpenCL library for dynamic linking. + * @return Returns libOpenCL represented as NativeLibrary. */ - static NativeLibrary loadJOCL() { - loadLibrary("jocl", null, true); + static NativeLibrary loadOpenCL() { + loadLibrary("jocl", null, false); return NativeLibrary.open("OpenCL", JOCLJNILibLoader.class.getClassLoader()); } } |