mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
made canDraw() abstract in PGL
This commit is contained in:
@@ -229,6 +229,11 @@ public class PLWJGL extends PGL {
|
||||
// Frame rendering
|
||||
|
||||
|
||||
protected boolean canDraw() {
|
||||
return pg.initialized && pg.parent.isDisplayable();
|
||||
}
|
||||
|
||||
|
||||
protected void requestFocus() { }
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user