Skip to content

Commit

Permalink
Remove resolution param
Browse files Browse the repository at this point in the history
  • Loading branch information
vanruesc committed Aug 16, 2024
1 parent e7c478c commit f422e44
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/core/RenderPipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,11 +332,9 @@ export class RenderPipeline implements Disposable, Renderable, Resizable {

/**
* Handles resolution change events.
*
* @param resolution - The resolution.
*/

private onResolutionChange(resolution = this.resolution): void {
private onResolutionChange(): void {

if(this.renderer === null) {

Expand All @@ -345,6 +343,7 @@ export class RenderPipeline implements Disposable, Renderable, Resizable {

}

const resolution = this.resolution;
const width = resolution.width;
const height = resolution.height;
const logicalSize = this.renderer.getSize(v);
Expand Down

0 comments on commit f422e44

Please sign in to comment.