Skip to content

Commit

Permalink
Update p5.RendererGL.js
Browse files Browse the repository at this point in the history
  • Loading branch information
perminder-17 committed Nov 3, 2023
1 parent 28a83c5 commit 2a50776
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/webgl/p5.RendererGL.js
Original file line number Diff line number Diff line change
Expand Up @@ -1158,6 +1158,7 @@ p5.RendererGL = class RendererGL extends p5.Renderer {
pg._pInst.blendMode(constants.BLEND);
this.clear();
this._pInst.push();
this.filterCamera._resize();
this._pInst.setCamera(this.filterCamera);
this._pInst.resetMatrix();
this._pInst.image(pg, -this.width / 2, -this.height / 2,
Expand Down

0 comments on commit 2a50776

Please sign in to comment.