Skip to content

Commit

Permalink
Fix invalid buffer pool handle error. (cocos#7718)
Browse files Browse the repository at this point in the history
  • Loading branch information
caryliu1999 authored Nov 7, 2020
1 parent 153b7d0 commit 449e250
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cocos/core/renderer/scene/submodel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ export class SubModel {
public destroy () {
DSPool.free(SubModelPool.get(this._handle, SubModelView.DESCRIPTOR_SET));
IAPool.free(SubModelPool.get(this._handle, SubModelView.INPUT_ASSEMBLER));
SubMeshPool.free(SubModelPool.get(this._handle, SubModelView.SUB_MESH));
SubModelPool.free(this._handle);

this._descriptorSet = null;
Expand Down

0 comments on commit 449e250

Please sign in to comment.