aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/graph/curve
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-04-01 20:50:42 +0200
committerSven Gothel <[email protected]>2011-04-01 20:50:42 +0200
commitc139362afd97e92a6a20f77f60fe952f88b94ebb (patch)
tree5461e667caccdcf4f1ca2acaf077229fe02899d8 /src/jogl/classes/com/jogamp/graph/curve
parent4c3aaeaa5e105b462d5212d049db9dcd058c94c7 (diff)
Rendered: +enable(GL, bool) ; dumpFontNames..
Diffstat (limited to 'src/jogl/classes/com/jogamp/graph/curve')
-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; }