Skip to content

Commit ee2c13d

Browse files
committed
Fix erase() and noErase() in webgl
1 parent 0df9212 commit ee2c13d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/webgl/p5.RendererGL.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,6 @@ p5.RendererGL = class RendererGL extends p5.Renderer {
11831183
this._cachedBlendMode = this.curBlendMode;
11841184
this._isErasing = true;
11851185
this.blendMode(constants.REMOVE);
1186-
this._applyBlendMode();
11871186
this._cachedFillStyle = this.curFillColor.slice();
11881187
this.curFillColor = [1, 1, 1, opacityFill / 255];
11891188
this._cachedStrokeStyle = this.curStrokeColor.slice();

0 commit comments

Comments
 (0)