From c01235fd6dc766a0d366e7151f24fab63afdbaaf Mon Sep 17 00:00:00 2001 From: perminder-17 <127239756+perminder-17@users.noreply.github.com> Date: Fri, 24 Nov 2023 03:41:18 +0530 Subject: [PATCH] fixes.js --- src/core/p5.Renderer2D.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/p5.Renderer2D.js b/src/core/p5.Renderer2D.js index fcb582ddb6..02286c7c6c 100644 --- a/src/core/p5.Renderer2D.js +++ b/src/core/p5.Renderer2D.js @@ -41,7 +41,7 @@ class Renderer2D extends p5.Renderer { this.filterGraphicsLayer.height !== this.height ) { // Resize the graphics layer - this.filterGraphicsLayer.resize(this.width, this.height); + this.filterGraphicsLayer.resizeCanvas(this.width, this.height); } if ( this.filterGraphicsLayer.pixelDensity() !== this._pInst.pixelDensity()