diff --git a/core/src/processing/core/PGraphics.java b/core/src/processing/core/PGraphics.java index e37fcb2f4..9e3205c69 100644 --- a/core/src/processing/core/PGraphics.java +++ b/core/src/processing/core/PGraphics.java @@ -3,7 +3,7 @@ /* Part of the Processing project - http://processing.org - Copyright (c) 2013-19 The Processing Foundation + Copyright (c) 2013-23 The Processing Foundation Copyright (c) 2004-12 Ben Fry and Casey Reas Copyright (c) 2001-04 Massachusetts Institute of Technology @@ -7430,7 +7430,7 @@ public class PGraphics extends PImage implements PConstants { * @webref color:setting * @webBrief Clears the pixels within a buffer */ - final public void clear() { + public void clear() { if (primaryGraphics) { showWarning("clear() can only be used with createGraphics()"); } else {