Skip to content

Commit 2b6eb54

Browse files
dragbonefabmax
authored andcommitted
Fixes GLFW_PLATFORM_ERROR when starting under X11
Fixes issue #194
1 parent 468582e commit 2b6eb54

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

kool-core/src/desktopMain/kotlin/de/fabmax/kool/platform/glfw/GlfwWindowSubsystem.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ object GlfwWindowSubsystem : WindowSubsystem {
7878
System.setProperty("java.awt.headless", "true")
7979
}
8080

81-
if (glfwPlatformSupported(GLFW_PLATFORM_WAYLAND)) {
82-
glfwInitHint(GLFW_PLATFORM, GLFW_PLATFORM_WAYLAND)
83-
}
84-
8581
GLFWErrorCallback.createPrint(System.err).set()
8682
check(glfwInit()) { "Unable to initialize GLFW" }
8783

0 commit comments

Comments
 (0)