From c139362afd97e92a6a20f77f60fe952f88b94ebb Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 1 Apr 2011 20:50:42 +0200 Subject: Rendered: +enable(GL, bool) ; dumpFontNames.. --- src/jogl/classes/com/jogamp/graph/curve/opengl/Renderer.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/jogl/classes/com') diff --git a/src/jogl/classes/com/jogamp/graph/curve/opengl/Renderer.java b/src/jogl/classes/com/jogamp/graph/curve/opengl/Renderer.java index 863928ed4..57eeb016f 100644 --- a/src/jogl/classes/com/jogamp/graph/curve/opengl/Renderer.java +++ b/src/jogl/classes/com/jogamp/graph/curve/opengl/Renderer.java @@ -104,6 +104,10 @@ public abstract class Renderer { } public final ShaderState getShaderState() { return st; } + + public final void enable(GL2ES2 gl, boolean enable) { + st.glUseProgram(gl, enable); + } public final PMVMatrix getMatrix() { return pmvMatrix; } -- cgit v1.2.3