mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
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:
@@ -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().
|
||||
|
||||
Reference in New Issue
Block a user