aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/javax/media/opengl/GLUniformData.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/javax/media/opengl/GLUniformData.java')
-rw-r--r--src/jogl/classes/javax/media/opengl/GLUniformData.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLUniformData.java b/src/jogl/classes/javax/media/opengl/GLUniformData.java
index 81bbe0244..9638ba8d8 100644
--- a/src/jogl/classes/javax/media/opengl/GLUniformData.java
+++ b/src/jogl/classes/javax/media/opengl/GLUniformData.java
@@ -85,7 +85,7 @@ public class GLUniformData {
sb.append("\n");
final FloatBuffer fb = (FloatBuffer)getBuffer();
for(int i=0; i<count; i++) {
- FloatUtil.matrixToString(sb, i+": ", "%10.5f", fb, 0, rows, columns, false);
+ FloatUtil.matrixToString(sb, i+": ", "%10.5f", fb, i*rows*columns, rows, columns, false);
sb.append(",\n");
}
} else if(isBuffer()) {