diff options
-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++) { |