Merge branch 'master' of github.com:processing/processing

This commit is contained in:
Ben Fry
2015-09-21 18:51:19 -04:00
+1 -1
View File
@@ -745,7 +745,7 @@ public class PSurfaceJOGL implements PSurface {
}
if (sketch.frameCount == 0) {
if (sketchWidth0 < sketchWidth0 || sketchHeight < sketchHeight0) {
if (sketchWidth < sketchWidth0 || sketchHeight < sketchHeight0) {
PGraphics.showWarning("The sketch has been automatically resized to fit the screen resolution");
}
// System.out.println("display: " + window.getWidth() + " "+ window.getHeight() + " - " + sketchWidth + " " + sketchHeight);