diff options
author | John Mayhew | 2012-04-02 15:29:52 -0700 |
---|---|---|
committer | John Mayhew | 2012-04-02 15:29:52 -0700 |
commit | db70fc673e385e2e80f7b82b8f2a050314769928 (patch) | |
tree | b7155f6ad309b8bd013d7cb97b959ddc72996f57 /js/helper-classes/RDGE/src/core/script/RenderProcs.js | |
parent | fb0a659c9ca3479fd6799325498b11f074689936 (diff) | |
download | ninja-db70fc673e385e2e80f7b82b8f2a050314769928.tar.gz |
Fixed compiler warnings
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; |