aboutsummaryrefslogtreecommitdiff
path: root/src/library_gl.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/library_gl.js')
-rw-r--r--src/library_gl.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/library_gl.js b/src/library_gl.js
index 9141e196..2e5fe918 100644
--- a/src/library_gl.js
+++ b/src/library_gl.js
@@ -22,9 +22,9 @@ var LibraryGL = {
#if FULL_ES2
clientBuffers: [],
enabledClientBuffers: [],
+#endif
currArrayBuffer: 0,
currElementArrayBuffer: 0,
-#endif
byteSizeByTypeRoot: 0x1400, // GL_BYTE
byteSizeByType: [
@@ -210,8 +210,7 @@ var LibraryGL = {
preDrawHandleClientVertexAttribBindings: function(count) {
GL.resetBufferBinding = false;
for (var i = 0; i < GL.maxVertexAttribs; ++i) {
- if (!GL.enabledClientBuffers[i] || !GL.clientBuffers[i])
- continue;
+ if (!GL.enabledClientBuffers[i] || !GL.clientBuffers[i]) continue;
GL.resetBufferBinding = true;