diff --git a/src/webgl/p5.RendererGL.js b/src/webgl/p5.RendererGL.js index 97b174e580..9b6d3fbded 100644 --- a/src/webgl/p5.RendererGL.js +++ b/src/webgl/p5.RendererGL.js @@ -1198,7 +1198,7 @@ p5.RendererGL = class RendererGL extends p5.Renderer { // It's necessary to restore post-erase state. Needs rework let temp = this.curBlendMode; this.blendMode(this._cachedBlendMode); - this._cachedBlendMode = temp; // If we don't do this, appleBlendMode() returns null + this._cachedBlendMode = temp; // If we don't do this, applyBlendMode() returns null this._isErasing = false; this._applyBlendMode(); // This sets _cachedBlendMode back to the original blendmode }