-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GLFW_CONTEXT_VERSION_MAJOR is ignored #14
Comments
This will be fixed when Emscripten 4.0.1 is released (this bug will be closed then). The current workaround is to add the linker flag |
Wanted to add I seemed to have to add |
@valentijnnieman If you add |
Right. I guess I assumed someone setting their |
The internals of Emscripten around this topic are quite awfully designed as I pointed out in this response. When Emscripten 4.0.1 is released, you will just have to use the contrib port and not have to deal with this nonsense... It is already merged, it just needs to be released... |
Due to how the internals of Emscripten work, the window hint
GLFW_CONTEXT_VERSION_MAJOR
is ignored unless the linker flag-sMAX_WEBGL_VERSION=2
is set when compiling.The text was updated successfully, but these errors were encountered: