diff options
author | Sven Gothel <[email protected]> | 2011-04-01 20:50:42 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-04-01 20:50:42 +0200 |
commit | c139362afd97e92a6a20f77f60fe952f88b94ebb (patch) | |
tree | 5461e667caccdcf4f1ca2acaf077229fe02899d8 /src/jogl/classes/com/jogamp/graph/curve | |
parent | 4c3aaeaa5e105b462d5212d049db9dcd058c94c7 (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.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; } |