From 735c9cbbec16457358eee7424a0533fcc1b8c64c Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Thu, 24 Jun 2010 23:05:04 +0200 Subject: added CLVersion utility class and corresponding API. version checks in unit tests. GLProfile.initSingleton() workaround in CLGLTest. --- test/com/jogamp/opencl/gl/CLGLTest.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/com/jogamp/opencl/gl/CLGLTest.java') 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); -- cgit v1.2.3