jMonkeyEngine / jmonkeyengine

A complete 3-D game development suite written in Java.
http://jmonkeyengine.org
BSD 3-Clause "New" or "Revised" License
3.81k stars 1.12k forks source link

jme-lwjgl3 - bug for starting app #1514

Closed supertick closed 1 year ago

supertick commented 3 years ago

What is expected : When starting a SimpleApplication JMonkeyEngine would spawn a thread for internal processing with an option to "waitFor" block until started.

What is observered: The calling thread is endlessly blocked by calling the run() method directly - with a note ... // NOTE: this is required for Mac OS X! https://github.com/jMonkeyEngine/jmonkeyengine/blob/v3.2.3-stable/jme3-lwjgl3/src/main/java/com/jme3/system/lwjgl/LwjglWindow.java#L420-L423

PR submitted - https://github.com/jMonkeyEngine/jmonkeyengine/pull/1513

tonihele commented 2 years ago

Hmm, is this the correct issue... But check out what LibGX tries to do with their LWJGL 3 MacOS starting problem: https://github.com/libgdx/libgdx/pull/6673

Ali-RS commented 1 year ago

Fixed in https://github.com/jMonkeyEngine/jmonkeyengine/pull/1690