diff options
author | Michael Bien <[email protected]> | 2010-04-24 03:10:40 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-04-24 03:10:40 +0200 |
commit | bec58034b631656d3ec436ea350fa1652a8f9195 (patch) | |
tree | e241b0b54a0ac174284de294eb5c6046a622a6b3 /src/com/jogamp | |
parent | b0f4d671bcf799884a3d3f31fbfee47f7fc6e5cb (diff) |
renamed NativeLibLoader to JOCLJNILibLoader.
Diffstat (limited to 'src/com/jogamp')
-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()); } }); } |