summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWade Walker <[email protected]>2014-02-25 14:56:33 -0600
committerWade Walker <[email protected]>2014-02-25 14:56:33 -0600
commit3b3c58780ff74755d2763738fc8abc950e6b4202 (patch)
tree4118168535bd5fd884c96f1a81a6edfa6455a411
parent6fc26e139d239219bead7e32ea40821a92ce3ef7 (diff)
Fix new subBufferTest02FloatBuffer() test on Solaris.v2.1.5
The new OpenCL isAvailable() didn't make it into this test due to a merge slipup. Change-Id: I049388908b8f2f2869cc018dbf6be86d1a8dcb9d
-rw-r--r--test/com/jogamp/opencl/CLBufferTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/com/jogamp/opencl/CLBufferTest.java b/test/com/jogamp/opencl/CLBufferTest.java
index 50820d4e..932266f6 100644
--- a/test/com/jogamp/opencl/CLBufferTest.java
+++ b/test/com/jogamp/opencl/CLBufferTest.java
@@ -306,6 +306,8 @@ public class CLBufferTest extends UITestCase {
public void subBufferTest02FloatBuffer() {
out.println(" - - - subBufferTest - - - ");
+ if(MiscUtils.isOpenCLUnavailable())
+ return;
CLPlatform platform = CLPlatform.getDefault(version(CL_1_1));
if(platform == null) {