From 4da60ff56d72714f39923ce16d921da46b294fee Mon Sep 17 00:00:00 2001 From: benfry Date: Thu, 15 Apr 2010 23:36:43 +0000 Subject: [PATCH] make this a proper boolean. why was this a String? that's madness. --- core/src/processing/core/PApplet.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/src/processing/core/PApplet.java b/core/src/processing/core/PApplet.java index 9707c59ea..e21356822 100644 --- a/core/src/processing/core/PApplet.java +++ b/core/src/processing/core/PApplet.java @@ -237,7 +237,8 @@ public class PApplet extends Applet * it's such a terrible hack in how it's employed here. Calling setProperty() * inside setup() is a joke, since it's long since the AWT has been invoked. */ - static public String useQuartz = "true"; + static public boolean useQuartz = true; + //static public String useQuartz = "true"; /** * Modifier flags for the shortcut key used to trigger menus. @@ -7063,7 +7064,8 @@ public class PApplet extends Applet if (platform == MACOSX) { // Only run this on OS X otherwise it can cause a permissions error. // http://dev.processing.org/bugs/show_bug.cgi?id=976 - System.setProperty("apple.awt.graphics.UseQuartz", useQuartz); + System.setProperty("apple.awt.graphics.UseQuartz", + String.valueOf(useQuartz)); } // This doesn't do anything.