From 72484bf9f6e5109982cfa825f167f10d29061ff0 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 24 Apr 2011 14:12:33 +0200 Subject: Graph: Fix AMD shader complain (version) ; No Attributes in fragment program ; Disable FPS draw at start --- .../jogamp/opengl/test/junit/graph/demos/GPURendererListenerBase01.java | 2 ++ .../opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/test/com/jogamp') diff --git a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPURendererListenerBase01.java b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPURendererListenerBase01.java index b173c1f06..8a16113f5 100644 --- a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPURendererListenerBase01.java +++ b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPURendererListenerBase01.java @@ -107,6 +107,8 @@ public abstract class GPURendererListenerBase01 implements GLEventListener { if(trace) { gl = gl.getContext().setGL( GLPipelineFactory.create("javax.media.opengl.Trace", null, gl, new Object[] { System.err } ) ).getGL2ES2(); } + System.err.println("*** "+gl.getContext().getGLVersion()); + System.err.println("*** GLDebugMessage "+gl.getContext().isGLDebugMessageEnabled()); gl.glClearColor(1.0f, 1.0f, 1.0f, 1.0f); } diff --git a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java index 119b38584..7da96c5ec 100644 --- a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java +++ b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java @@ -65,7 +65,7 @@ public abstract class GPUTextRendererListenerBase01 extends GPURendererListenerB Font font; int headType = 0; - boolean drawFPS = true; + boolean drawFPS = false; boolean updateFont = true; final int fontSizeFixed = 6; int fontSize = 40; -- cgit v1.2.3