diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/library_gl.js | 4 |
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(); |