summaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp/opengl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-08-01 17:46:27 +0200
committerSven Gothel <[email protected]>2023-08-01 17:46:27 +0200
commit285459363469e60df9db51a4c0485ec21d4e04ae (patch)
tree6c39bd4c3db123a43907e9722a208aff82d579cb /src/test/com/jogamp/opengl
parenta973324a75b55b722caa755a7a573be849d997e4 (diff)
Graph RegionRendered.init(..): Disable renderer (and shader programs etc) to avoid side-effects. Usually called @ GLEventListener.init(..)
Diffstat (limited to 'src/test/com/jogamp/opengl')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java b/src/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java
index f7a7e4c09..f66d58d3c 100644
--- a/src/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java
+++ b/src/test/com/jogamp/opengl/test/junit/graph/TextRendererGLELBase.java
@@ -132,8 +132,7 @@ public abstract class TextRendererGLELBase implements GLEventListener {
this.textRenderUtil = new TextRegionUtil(renderModes);
final GL2ES2 gl = drawable.getGL().getGL2ES2();
renderer.init(gl);
- this.getRenderer().getRenderState().setColorStatic(staticRGBAColor[0], staticRGBAColor[1], staticRGBAColor[2], staticRGBAColor[3]);
- renderer.enable(gl, false);
+ renderer.getRenderState().setColorStatic(staticRGBAColor[0], staticRGBAColor[1], staticRGBAColor[2], staticRGBAColor[3]);
final Object upObj = drawable.getUpstreamWidget();
if( upObj instanceof Window ) {