mirror of
https://github.com/processing/processing4.git
synced 2026-02-15 11:25:38 +01:00
Don't remove canvas from parent PApplet, fix #1648
This commit is contained in:
@@ -684,10 +684,8 @@ public class PGL {
|
||||
if (canvasAWT != null) {
|
||||
canvasAWT.removeGLEventListener(listener);
|
||||
pg.parent.removeListeners(canvasAWT);
|
||||
pg.parent.remove(canvasAWT);
|
||||
} else if (canvasNEWT != null) {
|
||||
window.removeGLEventListener(listener);
|
||||
pg.parent.remove(canvasNEWT);
|
||||
}
|
||||
|
||||
fboLayerCreated = false;
|
||||
|
||||
Reference in New Issue
Block a user