Skip to content

Commit

Permalink
chore: fix logic errors during refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
wang1212 committed Oct 10, 2024
1 parent 462e5a7 commit 1555e33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ export class RenderGraph implements RGGraphBuilder {
// This was the last reference to this RT -- steal it from the alive list, and put it back into the pool.
renderTarget.needsClear = true;

this.renderTargetAliveForID.splice(renderTargetID, 1);
this.renderTargetAliveForID[renderTargetID] = undefined;
this.renderTargetDeadPool.push(renderTarget);
}

Expand Down

0 comments on commit 1555e33

Please sign in to comment.