Skip to content

Commit 077b631

Browse files
authored
Update LWJGL 3 devlog with 1.14.0 changes
Updated last updated date and modified code snippet for GLFW usage.
1 parent 20993f9 commit 077b631

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

_posts/2021/2021-07-24-devlog-7-lwjgl3.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ tags:
2020
categories: news
2121
---
2222

23-
_(Last updated: 15 June 2025)_
23+
_(Last updated: 20 October 2025)_
2424

2525
In the next release of libGDX we are switching our default desktop backend from LWJGL 2 to LWJGL 3. This Status Report is meant to provide some background information on this change.
2626

@@ -82,12 +82,10 @@ You can either run the JVM with the [`-XstartOnFirstThread`](https://github.com/
8282
jvmArgs = ['-XstartOnFirstThread']
8383
```
8484

85-
Alternatively, you can use an [experimental](https://github.com/libgdx/libgdx/pull/7361#issuecomment-1986915854) implementation of the [GLFW library](https://javadoc.lwjgl.org/org/lwjgl/glfw/package-summary.html#using-glfw-on-macos-heading) by adding this code snippet to the start of your `main()` method:
85+
Alternatively, you can use an [experimental](https://github.com/libgdx/libgdx/pull/7361#issuecomment-1986915854) implementation of the [GLFW library](https://javadoc.lwjgl.org/org/lwjgl/glfw/package-summary.html#using-glfw-on-macos-heading) by adding this line to the very start of your `main()` method:
8686

8787
```java
88-
if (SharedLibraryLoader.isMac) {
89-
Configuration.GLFW_LIBRARY_NAME.set("glfw_async");
90-
}
88+
Lwjgl3ApplicationConfiguration.useGlfwAsync();
9189
```
9290

9391
A third option, especially viable for _outside of your development environment_, is to just programatically restart the JVM if the argument is not present (see [here](https://github.com/crykn/guacamole/blob/82a66078e190a563afd60de8804274904744d4d2/gdx-desktop/src/main/java/de/damios/guacamole/gdx/StartOnFirstThreadHelper.java#L78) for a simple example).

0 commit comments

Comments
 (0)