Version
3.3.0 (nightly)
Platform
macOS arm64
JDK
Zulu OpenJDK 11.0.13
Module
GLFW
Bug description
I compiled and bundled together nightly jars into one fat jar and used that with Minecraft 1.16.5. The game wouldn't launch with error GLFW error 65548: Cocoa: Regular windows do not have icons on macOS. So I went to code and commented out everything inside glfwSetWindowIcon, nglfwSetWindowIcon, made glfwSetWindowIconifyCallback return null, and nglfwSetWindowIconifyCallback return 0. After this, game launches successfully and works great.
Decision should be made whether this is a bug that should be fixed in lwjgl3 or it's responsibility of library users to not even call said procedures when running under macos. But it would clearly make many apps automatically compatible without touching their code, if those procedures were just made NOPs in macos library builds.
Stacktrace or crash log output
GLFW error 65548: Cocoa: Regular windows do not have icons on macOS
Version
3.3.0 (nightly)
Platform
macOS arm64
JDK
Zulu OpenJDK 11.0.13
Module
GLFW
Bug description
I compiled and bundled together nightly jars into one fat jar and used that with
Minecraft 1.16.5. The game wouldn't launch with errorGLFW error 65548: Cocoa: Regular windows do not have icons on macOS. So I went to code and commented out everything insideglfwSetWindowIcon,nglfwSetWindowIcon, madeglfwSetWindowIconifyCallbackreturn null, andnglfwSetWindowIconifyCallbackreturn 0. After this, game launches successfully and works great.Decision should be made whether this is a bug that should be fixed in lwjgl3 or it's responsibility of library users to not even call said procedures when running under macos. But it would clearly make many apps automatically compatible without touching their code, if those procedures were just made NOPs in macos library builds.
Stacktrace or crash log output
GLFW error 65548: Cocoa: Regular windows do not have icons on macOS