Commit 1ce7ff5
authored
[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.1 parent e49e05f commit 1ce7ff5
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
0 commit comments