aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/RDGE/src/core/script/RenderProcs.js
diff options
context:
space:
mode:
authorJohn Mayhew2012-04-02 15:29:52 -0700
committerJohn Mayhew2012-04-02 15:29:52 -0700
commitdb70fc673e385e2e80f7b82b8f2a050314769928 (patch)
treeb7155f6ad309b8bd013d7cb97b959ddc72996f57 /js/helper-classes/RDGE/src/core/script/RenderProcs.js
parentfb0a659c9ca3479fd6799325498b11f074689936 (diff)
downloadninja-db70fc673e385e2e80f7b82b8f2a050314769928.tar.gz
Fixed compiler warnings
Diffstat (limited to 'js/helper-classes/RDGE/src/core/script/RenderProcs.js')
-rwxr-xr-xjs/helper-classes/RDGE/src/core/script/RenderProcs.js2
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) {
64RDGE.RenderObject.prototype.addUniformArray = function (name, value, type, size) { 64RDGE.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;