From a4d7c1ee62a99eac09f4edd3038864408061b43f Mon Sep 17 00:00:00 2001 From: codeanticode Date: Tue, 12 Feb 2013 16:25:06 -0500 Subject: [PATCH] some additional comments regarding toolkits --- core/src/processing/opengl/PGL.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/src/processing/opengl/PGL.java b/core/src/processing/opengl/PGL.java index bf7f50d18..ec9e6be81 100644 --- a/core/src/processing/opengl/PGL.java +++ b/core/src/processing/opengl/PGL.java @@ -146,9 +146,11 @@ public class PGL { // https://jogamp.org/bugzilla/show_bug.cgi?id=409 toolkit = AWT; } else if (PApplet.platform == PConstants.MACOSX) { - toolkit = NEWT; // Solves the issues with Java 7 and OS X 10.7+ - } else if (PApplet.platform == PConstants.LINUX) { + // NEWT solves the issues with Java 7 and OS X 10.7+: calls to frame + // hanging the sketch, as well as cursor, etc. toolkit = NEWT; + } else if (PApplet.platform == PConstants.LINUX) { + toolkit = NEWT; // AWT extremely broken on Linux? } else if (PApplet.platform == PConstants.OTHER) { toolkit = NEWT; // NEWT should work on the Raspberry pi }