diff options
author | Michael Bien <[email protected]> | 2010-09-01 17:16:46 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-09-01 17:16:46 +0200 |
commit | 2388b47f180989abd14a39188b1d4f80f221bdcf (patch) | |
tree | f6a34f7bb7131cc9b642ae35eba9d1113bebd3c3 /src/com/jogamp/opencl/JOCLJNILibLoader.java | |
parent | 4836f3ab7916c681450d06f118b90c31f0bcdc8c (diff) |
better exception message if libOpenCL could not be loaded.
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()); } } |