summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/com/jogamp')
-rw-r--r--src/jogl/classes/com/jogamp/graph/curve/opengl/Renderer.java4
1 files changed, 4 insertions, 0 deletions
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; }