aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/graph
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-10-12 15:10:29 +0200
committerSven Gothel <[email protected]>2012-10-12 15:10:29 +0200
commite3ee1e25276760cba5db0333301d3ba19d62dd69 (patch)
tree0d7a01e14de75132856e77b619837b1887d5456a /src/jogl/classes/com/jogamp/graph
parentda258d10d4e929bb2993e7a0329ad32d079fd731 (diff)
Enhance FixedFuncPipeline: Multi-Texture, Tex-Env, Alpha-Test, Lighting (fix, incomplete still), ShaderSelectionMode, Fix default values
Besides the above mentioned additional features towards completness of the FFP emu, the ShaderSelectionMode allows fixating a shader program configuration, i.e. AUTO switch (default) or choosing a static shader program to avoid heavy program switches incl. uniform/attribute updates.
Diffstat (limited to 'src/jogl/classes/com/jogamp/graph')
-rw-r--r--src/jogl/classes/com/jogamp/graph/curve/opengl/RenderState.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/curve/opengl/RenderState.java b/src/jogl/classes/com/jogamp/graph/curve/opengl/RenderState.java
index eb07142a3..5e305d664 100644
--- a/src/jogl/classes/com/jogamp/graph/curve/opengl/RenderState.java
+++ b/src/jogl/classes/com/jogamp/graph/curve/opengl/RenderState.java
@@ -93,19 +93,19 @@ public abstract class RenderState {
return false;
}
- public StringBuilder toString(StringBuilder sb) {
+ public StringBuilder toString(StringBuilder sb, boolean alsoUnlocated) {
if(null==sb) {
sb = new StringBuilder();
}
sb.append("RenderState[");
- st.toString(sb).append(Platform.getNewline());
+ st.toString(sb, alsoUnlocated).append(Platform.getNewline());
sb.append("]");
return sb;
}
public String toString() {
- return toString(null).toString();
+ return toString(null, false).toString();
}
}