Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[contrib.glfw3] Fixes GLFW_CONTEXT_VERSION_MAJOR ignored (#23401)
This is a follow up to the [ticket](#23372) discussion. When users are using my port, the window hint `GLFW_CONTEXT_VERSION_MAJOR` is ignored due to how Emscripten behaves internally. If the port sets the linker flag `MAX_WEBGL_VERSION=2`, then for a user of the library, which interact throught the GLFW API, it transparently works without asking the user to understand the internals of Emscripten and modify their build script.
- Loading branch information