aboutsummaryrefslogtreecommitdiffstats
path: root/test/com/jogamp/opencl/gl
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-06-24 23:05:04 +0200
committerMichael Bien <[email protected]>2010-06-24 23:05:04 +0200
commit735c9cbbec16457358eee7424a0533fcc1b8c64c (patch)
tree8014ee2ea69ec05f6dc25802bb0ab7f260cdc2d5 /test/com/jogamp/opencl/gl
parent9560f296e01e120279a01ad06189f71cd662ed42 (diff)
added CLVersion utility class and corresponding API.
version checks in unit tests. GLProfile.initSingleton() workaround in CLGLTest.
Diffstat (limited to 'test/com/jogamp/opencl/gl')
-rw-r--r--test/com/jogamp/opencl/gl/CLGLTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/com/jogamp/opencl/gl/CLGLTest.java b/test/com/jogamp/opencl/gl/CLGLTest.java
index b7dfe1dc..1fa582b8 100644
--- a/test/com/jogamp/opencl/gl/CLGLTest.java
+++ b/test/com/jogamp/opencl/gl/CLGLTest.java
@@ -34,6 +34,8 @@ public class CLGLTest {
@BeforeClass
public static void init() {
+ GLProfile.initSingleton();
+
Display display = NewtFactory.createDisplay(null); // local display
assertNotNull(display);