Skip to content

Commit

Permalink
fix for P3D & P2D window not showing on MacOS Ventura (resolves #544
Browse files Browse the repository at this point in the history
  • Loading branch information
benfry committed Nov 4, 2022
1 parent 1a73033 commit 9e3522a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/processing/opengl/PSurfaceJOGL.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,10 @@ public void initFrame(PApplet sketch) {
this.sketch = sketch;

initIcons();
initDisplay();
// For 4.0.2, swapped the order to do initGL() before initDisplay()
// https://github.com/processing/processing4/issues/544
initGL();
initDisplay();
initWindow();
initListeners();
initAnimator();
Expand Down
4 changes: 4 additions & 0 deletions core/todo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ X when using fullScreen(), shows error:
X "Display -1 does not exist, returning 1 for displayDensity(-1)"
X maybe https://github.com/processing/processing4/issues/487

contribs
X P3D & P2D window not showing on MacOS Ventura (thx @jaegonlee)
X https://github.com/processing/processing4/issues/544


_ need alphabetical ordering for json serialization
_ use choice() instead of random() for list classes
Expand Down

0 comments on commit 9e3522a

Please sign in to comment.