From 71d8456400f9606d0e78fd14d76f99b2a68f5346 Mon Sep 17 00:00:00 2001 From: Tommy Ettinger Date: Mon, 6 Jan 2025 01:48:45 -0800 Subject: [PATCH] LWJGL 3.3.6 seems to work rather well now! There's still an OpenAL logging issue on MacOS, but that only affects Mac users running where they can see the logs... probably not a ton of people, and it can be worked around by setting the environment variable: ALSOFT_LOGLEVEL=0 --- build.gradle | 36 ++++++++++++++++++------------------ gradle.properties | 4 ++-- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/build.gradle b/build.gradle index b485cdf6..03eab073 100644 --- a/build.gradle +++ b/build.gradle @@ -66,17 +66,6 @@ dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion" implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion" implementation "org.apache.commons:commons-exec:$commonsExecVersion" - implementation "com.badlogicgames.gdx:gdx:$gdxVersion" - implementation ("com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"){ - exclude group: "org.jcraft", module: "jorbis" - exclude group: "org.lwjgl", module: "lwjgl-openal" - - exclude group: 'org.lwjgl', module: 'lwjgl-glfw' - exclude group: 'org.lwjgl', module: 'lwjgl-opengl' - exclude group: 'org.lwjgl', module: 'lwjgl-stb' - exclude group: 'org.lwjgl', module: 'lwjgl' - exclude group: 'org.lwjgl', module: 'lwjgl-jemalloc' - } implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop" implementation "com.crashinvaders.lml:gdx-kiwi:$lmlVersion" implementation "com.crashinvaders.lml:gdx-lml:$lmlVersion" @@ -91,6 +80,17 @@ dependencies { implementation "com.rafaskoberg.gdx:typing-label:1.4.0" + implementation "com.badlogicgames.gdx:gdx:$gdxVersion" + implementation ("com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"){ + exclude group: "org.jcraft", module: "jorbis" + exclude group: "org.lwjgl", module: "lwjgl-openal" + + exclude group: 'org.lwjgl', module: 'lwjgl-glfw' + exclude group: 'org.lwjgl', module: 'lwjgl-opengl' + exclude group: 'org.lwjgl', module: 'lwjgl-stb' + exclude group: 'org.lwjgl', module: 'lwjgl' + exclude group: 'org.lwjgl', module: 'lwjgl-jemalloc' + } implementation "org.lwjgl:lwjgl-jemalloc:$lwjgl3Version" implementation "org.lwjgl:lwjgl-glfw:$lwjgl3Version" @@ -142,16 +142,16 @@ dependencies { implementation "org.lwjgl:lwjgl-opengl:$lwjgl3Version:natives-windows" implementation "org.lwjgl:lwjgl-stb:$lwjgl3Version:natives-windows" implementation "org.lwjgl:lwjgl:$lwjgl3Version:natives-windows" -// implementation "org.lwjgl:lwjgl-jemalloc:$lwjgl3Version:natives-windows-x86" -// implementation "org.lwjgl:lwjgl-glfw:$lwjgl3Version:natives-windows-x86" -// implementation "org.lwjgl:lwjgl-openal:$lwjgl3Version:natives-windows-x86" -// implementation "org.lwjgl:lwjgl-opengl:$lwjgl3Version:natives-windows-x86" -// implementation "org.lwjgl:lwjgl-stb:$lwjgl3Version:natives-windows-x86" -// implementation "org.lwjgl:lwjgl:$lwjgl3Version:natives-windows-x86" + implementation "org.lwjgl:lwjgl-jemalloc:$lwjgl3Version:natives-windows-x86" + implementation "org.lwjgl:lwjgl-glfw:$lwjgl3Version:natives-windows-x86" + implementation "org.lwjgl:lwjgl-openal:$lwjgl3Version:natives-windows-x86" + implementation "org.lwjgl:lwjgl-opengl:$lwjgl3Version:natives-windows-x86" + implementation "org.lwjgl:lwjgl-stb:$lwjgl3Version:natives-windows-x86" + implementation "org.lwjgl:lwjgl:$lwjgl3Version:natives-windows-x86" implementation "org.lwjgl:lwjgl-nfd:$nfdVersion" implementation "org.lwjgl:lwjgl-nfd:$nfdVersion:natives-windows" -// implementation "org.lwjgl:lwjgl-nfd:$nfdVersion:natives-windows-x86" + implementation "org.lwjgl:lwjgl-nfd:$nfdVersion:natives-windows-x86" implementation "org.lwjgl:lwjgl-nfd:$nfdVersion:natives-linux" implementation "org.lwjgl:lwjgl-nfd:$nfdVersion:natives-linux-arm32" implementation "org.lwjgl:lwjgl-nfd:$nfdVersion:natives-linux-arm64" diff --git a/gradle.properties b/gradle.properties index 8943f9f2..061ad50e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,6 +7,6 @@ lmlVersion=1.10.1.12.1 #visUiVersion=1.5.3 visUiVersion=1aef382077 commonsExecVersion=1.3 -lwjgl3Version=3.3.5 -nfdVersion=3.3.5 +lwjgl3Version=3.3.6 +nfdVersion=3.3.6 iconizerVersion=0.1.0