aboutsummaryrefslogtreecommitdiff
path: root/src/library_gl.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-07 11:39:09 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-03-07 11:39:09 -0800
commit0e074d8e6690bc4a6f6ed869bca1c0fbb5091682 (patch)
tree9e1a25d411285fb0cf7a16985f3b3c4bdb4174be /src/library_gl.js
parent5cb03faced4a10da93f78f674f643b6862855390 (diff)
gl whitespace cleanup
Diffstat (limited to 'src/library_gl.js')
-rw-r--r--src/library_gl.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library_gl.js b/src/library_gl.js
index 4977d2e9..ce5da3d4 100644
--- a/src/library_gl.js
+++ b/src/library_gl.js
@@ -211,11 +211,11 @@ var LibraryGL = {
GL.resetBufferBinding = false;
for (var i = 0; i < GL.maxVertexAttribs; ++i) {
if (!GL.enabledClientBuffers[i] || !GL.clientBuffers[i]) continue;
-
+
GL.resetBufferBinding = true;
-
+
var cb = GL.clientBuffers[i];
-
+
var buf = Module.ctx.createBuffer();
Module.ctx.bindBuffer(Module.ctx.ARRAY_BUFFER, buf);
Module.ctx.bufferData(Module.ctx.ARRAY_BUFFER,