-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isKeyJustPressed & isButtonJustPressed does not trigger consistently at '1.11.0' with gdx-lwjgl3-glfw-awt-macos #7059
Comments
It seems like -XstartOnFirstThread is the only really reliable way to have LWJGL3 work on MacOS. The StartOnFirstThreadHelper class from Guacamole may make distributing executable JARs easier -- just start your main() method with |
I am planning to create a debug UI/editor UI as a second window on top / besides my libgdx app. So I would be interested to fix these issues also. Where would I have to look ? |
I don't think this is as easy to fix as you'd like it to be, but the best place to start looking is the original PR that introduced the extension (#6772). Apart from that, you could try removing the if (SharedLibraryLoader.isMac && Gdx.app == null) {
org.lwjgl.system.Configuration.GLFW_LIBRARY_NAME.set("glfw_async");
} This should have the same effect as our extension, but is offered by LWJGL 3 itself. So they might be able to help you figure out what is causing this. |
Not using the gdx-lwjgl3-glfw-awt library and using JVM opts "-XstartOnFirstThread" fixes the issue.
The text was updated successfully, but these errors were encountered: