diff --git a/core/src/processing/core/PGraphicsJava2D.java b/core/src/processing/core/PGraphicsJava2D.java index 7e9882fcf..8de014628 100644 --- a/core/src/processing/core/PGraphicsJava2D.java +++ b/core/src/processing/core/PGraphicsJava2D.java @@ -2626,7 +2626,7 @@ public class PGraphicsJava2D extends PGraphics { @Override public void updatePixels(int x, int y, int c, int d) { //if ((x == 0) && (y == 0) && (c == width) && (d == height)) { - System.err.format("%d %d %d %d .. w/h = %d %d .. pw/ph = %d %d %n", x, y, c, d, width, height, pixelWidth, pixelHeight); +// System.err.format("%d %d %d %d .. w/h = %d %d .. pw/ph = %d %d %n", x, y, c, d, width, height, pixelWidth, pixelHeight); if ((x != 0) || (y != 0) || (c != pixelWidth) || (d != pixelHeight)) { // Show a warning message, but continue anyway. showVariationWarning("updatePixels(x, y, w, h)"); diff --git a/core/src/processing/core/PSurfaceAWT.java b/core/src/processing/core/PSurfaceAWT.java index b41f37407..1a7ba2a39 100644 --- a/core/src/processing/core/PSurfaceAWT.java +++ b/core/src/processing/core/PSurfaceAWT.java @@ -1379,13 +1379,9 @@ public class PSurfaceAWT implements PSurface { // Don't resize the renderer from the EDT (i.e. from a ComponentEvent), // otherwise it may attempt a resize mid-render. -// if (g != null) { - Dimension currentSize = canvas.getSize(); - if (currentSize.width != sketchWidth || currentSize.height != sketchHeight) { - //resizeRenderer(currentSize.width, currentSize.height); - //System.err.format("need to resize from %s to %d, %d", currentSize, graphics.width, graphics.height); - System.err.format("need to resize from %s to %d, %d%n", currentSize, sketchWidth, sketchHeight); - } +// Dimension currentSize = canvas.getSize(); +// if (currentSize.width != sketchWidth || currentSize.height != sketchHeight) { +// System.err.format("need to resize from %s to %d, %d%n", currentSize, sketchWidth, sketchHeight); // } // render a single frame