some additional comments regarding toolkits

This commit is contained in:
codeanticode
2013-02-12 16:25:06 -05:00
parent c511aedf92
commit a4d7c1ee62

View File

@@ -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
}