Skip to content

Commit

Permalink
Always update value
Browse files Browse the repository at this point in the history
  • Loading branch information
vanruesc committed Aug 10, 2024
1 parent 343c84c commit ed2dd70
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/core/io/Output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,7 @@ export class Output extends EventDispatcher<BaseEventMap> implements Disposable,

if(value instanceof RenderTargetResource) {

if(this.renderTargets.get(key) !== value) {

this.renderTargets.set(key, value);

}
this.renderTargets.set(key, value);

} else {

Expand Down

0 comments on commit ed2dd70

Please sign in to comment.