提交 a40b7d28 编写于 作者: 0 06wj 提交者: GitHub

Reset updateRange.count to -1 after updateBuffer

上级 df0fdfd3
......@@ -89,7 +89,7 @@ function WebGLAttributes( gl ) {
gl.bufferSubData( bufferType, updateRange.offset * array.BYTES_PER_ELEMENT,
array.subarray( updateRange.offset, updateRange.offset + updateRange.count ) );
updateRange.count = 0; // reset range
updateRange.count = -1; // reset range
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册