diff options
Diffstat (limited to 'src/jogl/classes/com')
-rw-r--r-- | src/jogl/classes/com/jogamp/graph/curve/opengl/Renderer.java | 4 |
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; } |