diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-04-16 21:07:28 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-04-16 21:07:28 -0700 |
commit | b7015676a448b95999120d91ceaa2f2d21aeb0eb (patch) | |
tree | 3e7f71f70a628d8e9b64dfe02ee2476f1a959ad9 /src/library_gl.js | |
parent | 293fb5a4490c7fda535e5519ff1ab36e5eed8ebf (diff) |
gl todos
Diffstat (limited to 'src/library_gl.js')
-rw-r--r-- | src/library_gl.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/library_gl.js b/src/library_gl.js index 601de23f..97d760d3 100644 --- a/src/library_gl.js +++ b/src/library_gl.js @@ -1102,6 +1102,8 @@ var LibraryGL = { vertexSize += size * 4; // XXX assuming float } // TODO: verify vertexSize is equal to the stride in enabled client arrays + // TODO: assert that we can create the renderer type we were asked + // TODO: use bufferSubData to prevent reallocation of new buffers? Or all on GPU and doesn't matter? Anyhow, use DYNAMIC as hint this.renderers[renderer] = { vertexSize: vertexSize, init: function() { |