Skip to content

Commit 14524a3

Browse files
authored
Update p5.RendererGL.js
1 parent 79a7360 commit 14524a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/webgl/p5.RendererGL.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,8 @@ p5.RendererGL = class RendererGL extends p5.Renderer {
11581158
pg._pInst.blendMode(constants.BLEND);
11591159
this.clear();
11601160
this._pInst.push();
1161-
pg._pInst.setCamera(this.filterCamera);
1161+
this._pInst.setCamera(this.filterCamera);
1162+
this._pInst.resetMatrix();
11621163
this._pInst.image(pg, -this.width / 2, -this.height / 2,
11631164
this.width, this.height);
11641165
this._pInst.pop();

0 commit comments

Comments
 (0)