diff options
Diffstat (limited to 'js/helper-classes/RDGE/src/core/script/RenderProcs.js')
-rwxr-xr-x | js/helper-classes/RDGE/src/core/script/RenderProcs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/helper-classes/RDGE/src/core/script/RenderProcs.js b/js/helper-classes/RDGE/src/core/script/RenderProcs.js index 4d7c055c..8961ac74 100755 --- a/js/helper-classes/RDGE/src/core/script/RenderProcs.js +++ b/js/helper-classes/RDGE/src/core/script/RenderProcs.js | |||
@@ -64,7 +64,7 @@ RDGE.RenderObject.prototype.addUniform = function (name, value, type) { | |||
64 | RDGE.RenderObject.prototype.addUniformArray = function (name, value, type, size) { | 64 | RDGE.RenderObject.prototype.addUniformArray = function (name, value, type, size) { |
65 | var uniform = RDGE.globals.gl.getUniformLocation(this.shader, name); | 65 | var uniform = RDGE.globals.gl.getUniformLocation(this.shader, name); |
66 | if (uniform) { | 66 | if (uniform) { |
67 | for (var index = 0; index < size; index) { | 67 | for (var index = 0; index < size; index++) { |
68 | uniform.debugName = name + index; | 68 | uniform.debugName = name + index; |
69 | this.bindings.uniforms.push(new RDGE.UniformPair(uniform, value[index], type)); | 69 | this.bindings.uniforms.push(new RDGE.UniformPair(uniform, value[index], type)); |
70 | uniform += value[index].length; | 70 | uniform += value[index].length; |