diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-06-02 17:18:43 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-06-02 17:18:43 -0700 |
commit | 79e6d4c8d0fbd7068b41e4ad1b149d574237c756 (patch) | |
tree | 4b6c270ba029fc7bd28e3b7b165ee883900567e9 /src | |
parent | 624069a8ecc425a469a35cec999e80879f8b0283 (diff) |
fix typo in glGenVertexArrays__deps
Diffstat (limited to 'src')
-rw-r--r-- | src/jsifier.js | 1 | ||||
-rw-r--r-- | src/library_gl.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 77aff895..156fd65d 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -460,6 +460,7 @@ function JSify(data, functionsOnly, givenFunctions) { } else { ident = '_' + ident; } + if (VERBOSE) printErr('adding ' + ident + ' and deps ' + deps); var depsText = (deps ? '\n' + deps.map(addFromLibrary).filter(function(x) { return x != '' }).join('\n') : ''); var contentText = isFunction ? snippet : ('var ' + ident + '=' + snippet + ';'); if (ASM_JS) { diff --git a/src/library_gl.js b/src/library_gl.js index 46055304..1fa0cc9c 100644 --- a/src/library_gl.js +++ b/src/library_gl.js @@ -3965,7 +3965,7 @@ var LibraryGL = { }, // Vertex array object (VAO) support. TODO: when the WebGL extension is popular, use that and remove this code and GL.vaos - glGenVertexArrays__deps: ['$GLEMulation'], + glGenVertexArrays__deps: ['$GLEmulation'], glGenVertexArrays__sig: 'vii', glGenVertexArrays: function(n, vaos) { for (var i = 0; i < n; i++) { |