diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/com/jogamp/opencl/CLPlatform.java | 2 | ||||
-rw-r--r-- | src/com/jogamp/opencl/JOCLJNILibLoader.java (renamed from src/com/jogamp/opencl/NativeLibLoader.java) | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/com/jogamp/opencl/CLPlatform.java b/src/com/jogamp/opencl/CLPlatform.java index aa162d0c..88755aa2 100644 --- a/src/com/jogamp/opencl/CLPlatform.java +++ b/src/com/jogamp/opencl/CLPlatform.java @@ -40,7 +40,7 @@ public final class CLPlatform { static{ try { - NativeLibrary lib = NativeLibLoader.loadJOCL(); + NativeLibrary lib = JOCLJNILibLoader.loadJOCL(); CLProcAddressTable table = new CLProcAddressTable(); ProcAddressHelper.resetProcAddressTable(table, lib); diff --git a/src/com/jogamp/opencl/NativeLibLoader.java b/src/com/jogamp/opencl/JOCLJNILibLoader.java index 5cce1a36..c8a05210 100644 --- a/src/com/jogamp/opencl/NativeLibLoader.java +++ b/src/com/jogamp/opencl/JOCLJNILibLoader.java @@ -10,7 +10,7 @@ import static java.security.AccessController.*; * Responsible for JOCL lib loading. * @author Michael Bien */ -class NativeLibLoader extends JNILibLoaderBase { +class JOCLJNILibLoader extends JNILibLoaderBase { /** * Loads the native binding and returns the OpenCL library for dynamic linking. @@ -20,7 +20,7 @@ class NativeLibLoader extends JNILibLoaderBase { return doPrivileged(new PrivilegedAction<NativeLibrary>() { public NativeLibrary run() { loadLibrary("jocl", null, true); - return NativeLibrary.open("OpenCL", NativeLibLoader.class.getClassLoader()); + return NativeLibrary.open("OpenCL", JOCLJNILibLoader.class.getClassLoader()); } }); } |