diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-02-08 14:51:43 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-02-08 14:51:43 -0800 |
commit | 61f91b6c525cd22e431c169d903a158a904d31a8 (patch) | |
tree | 29a9e33e1667d9c01b409481d8866f13c3f0e3ca | |
parent | f1c434e1983f29c35433993e6cecfdc178365ace (diff) |
fix comparison
-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 5e8f4c84..64b09b72 100644 --- a/src/library_gl.js +++ b/src/library_gl.js @@ -2021,7 +2021,7 @@ var LibraryGL = { bytes += size; } #if ASSERTIONS - assert(count*bytes < GL.immediate.MAX_TEMP_BUFFER_SIZE); + assert(count*bytes <= GL.immediate.MAX_TEMP_BUFFER_SIZE); #endif // copy out the data (we need to know the stride for that, and define attribute.pointer for (var i = 0; i < attributes.length; i++) { |