From 413026e5f9277dc9271543d76d3094c299322c70 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 14 Feb 2012 02:07:50 +0100 Subject: Fix TestTransformFeedbackVaryingsBug407NEWT (2): Use getMaxProgrammable() for profile, allowing test on OSX (only has GL3 core profile at max). --- .../test/junit/jogl/glsl/TestTransformFeedbackVaryingsBug407NEWT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/com') diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/glsl/TestTransformFeedbackVaryingsBug407NEWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/glsl/TestTransformFeedbackVaryingsBug407NEWT.java index 11fe56649..904fdc7f6 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/glsl/TestTransformFeedbackVaryingsBug407NEWT.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/glsl/TestTransformFeedbackVaryingsBug407NEWT.java @@ -83,7 +83,7 @@ public class TestTransformFeedbackVaryingsBug407NEWT extends UITestCase { final static String glps = GLProfile.GL3; private NEWTGLContext.WindowContext prepareTest() throws GLException, InterruptedException { - final NEWTGLContext.WindowContext winctx = NEWTGLContext.createOnscreenWindow(GLProfile.getDefault(), 480, 480, debugGL); + final NEWTGLContext.WindowContext winctx = NEWTGLContext.createOnscreenWindow(GLProfile.getMaxProgrammable(), 480, 480, debugGL); if(!winctx.context.getGL().isGL3()) { System.err.println("GL3 not available"); cleanupTest(winctx); -- cgit v1.2.3