aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan.akhgari@gmail.com>2012-04-13 16:11:40 -0400
committerEhsan Akhgari <ehsan.akhgari@gmail.com>2012-04-13 16:11:40 -0400
commit33c14175559dd1fb889d953e430f02a13bda8f94 (patch)
tree6fe098f0e7f0cae52434f3ce30b80ef45c0bce88
parent5f2b6215fc0a9aeb12692bed0722e41f816c5770 (diff)
Fix a typo
-rw-r--r--src/library_gl.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library_gl.js b/src/library_gl.js
index 00049d76..2ab3afb2 100644
--- a/src/library_gl.js
+++ b/src/library_gl.js
@@ -1106,8 +1106,8 @@ var LibraryGL = {
false, 5 * 4,
3 * 4);
- Module.ctx.enableVertexAttribArray(this.positionLoc);
- Module.ctx.enableVertexAttribArray(this.texCoordLoc);
+ Module.ctx.enableVertexAttribArray(this.positionLocation);
+ Module.ctx.enableVertexAttribArray(this.texCoordLocation);
Module.ctx.activeTexture(Module.ctx.TEXTURE0);
this.textureId = Module.ctx.createTexture();