From d338bdebabef4534f8d340028c9850502ba4c0b4 Mon Sep 17 00:00:00 2001 From: Benjamin Maus Date: Mon, 7 Oct 2013 15:32:38 +0200 Subject: [PATCH] Not reapplying settings after sizing, because it calls smooth() without parameters. With smooth(4) called in setup, this would lead do a complete reinitialization of the canvas and thus crashing natively... --- core/src/processing/opengl/PGraphicsOpenGL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/processing/opengl/PGraphicsOpenGL.java b/core/src/processing/opengl/PGraphicsOpenGL.java index 44f764994..995712ca0 100644 --- a/core/src/processing/opengl/PGraphicsOpenGL.java +++ b/core/src/processing/opengl/PGraphicsOpenGL.java @@ -6143,7 +6143,7 @@ public class PGraphicsOpenGL extends PGraphics { pgl.disable(PGL.POLYGON_SMOOTH); if (sized) { - reapplySettings(); + //reapplySettings(); // To avoid having garbage in the screen after a resize, // in the case background is not called in draw().