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...
This commit is contained in:
Benjamin Maus
2013-10-07 15:32:38 +02:00
parent 28b53e4959
commit d338bdebab
@@ -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().