Skip to content

Commit

Permalink
Fix erase() and noErase() in webgl
Browse files Browse the repository at this point in the history
  • Loading branch information
acamposuribe committed Nov 3, 2023
1 parent 0df9212 commit ee2c13d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/webgl/p5.RendererGL.js
Original file line number Diff line number Diff line change
Expand Up @@ -1183,7 +1183,6 @@ p5.RendererGL = class RendererGL extends p5.Renderer {
this._cachedBlendMode = this.curBlendMode;
this._isErasing = true;
this.blendMode(constants.REMOVE);
this._applyBlendMode();
this._cachedFillStyle = this.curFillColor.slice();
this.curFillColor = [1, 1, 1, opacityFill / 255];
this._cachedStrokeStyle = this.curStrokeColor.slice();
Expand Down

0 comments on commit ee2c13d

Please sign in to comment.