未验证 提交 6361f86d 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #19720 from Mugen87/dev43

WebGLGeometry: Ensure to reset _maxInstanceCount.
......@@ -43,6 +43,12 @@ function WebGLGeometries( gl, attributes, info, bindingStates ) {
bindingStates.releaseStatesOfGeometry( geometry );
if ( geometry.isInstancedBufferGeometry === true ) {
delete geometry._maxInstanceCount;
}
//
info.memory.geometries --;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册