diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-05-05 15:26:46 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-05-05 15:26:46 -0700 |
commit | d24edd5719c6156fc3223cf4cd4e4e2b9fc3a171 (patch) | |
tree | 6d27c86115fe61a92963fa58545322025833710b | |
parent | 09d02eb1fae294ec8763320c3f40f8c00aca0c39 (diff) |
color todo
-rw-r--r-- | src/library_gl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_gl.js b/src/library_gl.js index 2b519f07..763eb46f 100644 --- a/src/library_gl.js +++ b/src/library_gl.js @@ -1438,7 +1438,7 @@ var LibraryGL = { Module.ctx.bufferData(Module.ctx.ELEMENT_ARRAY_BUFFER, this.maxElements*2, Module.ctx.DYNAMIC_DRAW); Module.ctx.bindBuffer(Module.ctx.ELEMENT_ARRAY_BUFFER, null); - this.clientColor = new Float32Array([1, 1, 1, 1]); + this.clientColor = new Float32Array([1, 1, 1, 1]); // TODO: modify this when glColor called not in begin/end // Replace some functions with immediate-mode aware versions _glDrawArrays = function(mode, first, count) { |