summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/CLPlatform.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/jogamp/opencl/CLPlatform.java')
-rw-r--r--src/com/jogamp/opencl/CLPlatform.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/com/jogamp/opencl/CLPlatform.java b/src/com/jogamp/opencl/CLPlatform.java
index 99b2e16d..4015dc26 100644
--- a/src/com/jogamp/opencl/CLPlatform.java
+++ b/src/com/jogamp/opencl/CLPlatform.java
@@ -49,7 +49,6 @@ import com.jogamp.opencl.util.CLUtil;
import com.jogamp.opencl.llb.impl.CLImpl;
import com.jogamp.opencl.spi.CLAccessorFactory;
import com.jogamp.opencl.util.Filter;
-import com.jogamp.opencl.util.JOCLVersion;
import java.nio.IntBuffer;
import java.util.ArrayList;
@@ -168,10 +167,10 @@ public class CLPlatform {
}
cl = new CLImpl();
}catch(UnsatisfiedLinkError ex) {
- System.err.println(JOCLVersion.getAllVersions());
+ System.err.println(JoclVersion.getInstance().getAllVersions(null).toString());
throw ex;
}catch(Exception ex) {
- System.err.println(JOCLVersion.getAllVersions());
+ System.err.println(JoclVersion.getInstance().getAllVersions(null).toString());
throw new JogampRuntimeException("JOCL initialization error.", ex);
}