Skip to content

Commit f18c9d0

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents c5f9a36 + 7ff057d commit f18c9d0

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

core/src/processing/core/PGraphicsJava2D.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2626,7 +2626,7 @@ public void loadPixels() {
26262626
@Override
26272627
public void updatePixels(int x, int y, int c, int d) {
26282628
//if ((x == 0) && (y == 0) && (c == width) && (d == height)) {
2629-
System.err.format("%d %d %d %d .. w/h = %d %d .. pw/ph = %d %d %n", x, y, c, d, width, height, pixelWidth, pixelHeight);
2629+
// System.err.format("%d %d %d %d .. w/h = %d %d .. pw/ph = %d %d %n", x, y, c, d, width, height, pixelWidth, pixelHeight);
26302630
if ((x != 0) || (y != 0) || (c != pixelWidth) || (d != pixelHeight)) {
26312631
// Show a warning message, but continue anyway.
26322632
showVariationWarning("updatePixels(x, y, w, h)");

core/src/processing/core/PSurfaceAWT.java

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1379,13 +1379,9 @@ public void run() { // not good to make this synchronized, locks things up
13791379

13801380
// Don't resize the renderer from the EDT (i.e. from a ComponentEvent),
13811381
// otherwise it may attempt a resize mid-render.
1382-
// if (g != null) {
1383-
Dimension currentSize = canvas.getSize();
1384-
if (currentSize.width != sketchWidth || currentSize.height != sketchHeight) {
1385-
//resizeRenderer(currentSize.width, currentSize.height);
1386-
//System.err.format("need to resize from %s to %d, %d", currentSize, graphics.width, graphics.height);
1387-
System.err.format("need to resize from %s to %d, %d%n", currentSize, sketchWidth, sketchHeight);
1388-
}
1382+
// Dimension currentSize = canvas.getSize();
1383+
// if (currentSize.width != sketchWidth || currentSize.height != sketchHeight) {
1384+
// System.err.format("need to resize from %s to %d, %d%n", currentSize, sketchWidth, sketchHeight);
13891385
// }
13901386

13911387
// render a single frame

0 commit comments

Comments
 (0)