Suggestion: Change OpenGL version detection to use reflection
Janrupf opened this issue ยท 3 comments
Looking at the issues #172 and #166. This can easily be resolved by changing the detection here
CodeChickenLib/src/main/java/codechicken/lib/render/OpenGLUtils.java
Lines 27 to 32 in 4d48a21
A bit of context:
- This is coming from people using outdated versions of MultiMC (it did default to 2.9.1 for all versions)
- In the current version, the user can choose any of the Mojang-provided LWJGL versions of LWJGL. That means you can get LWJGL 2.9.1 in Minecraft 1.12.2, or LWJGL 2.9.4 in old beta versions. It is up to the user. The default is whatever was in the upstream Mojang version json though.
- This works well in Vanilla, and up to now, worked flawlessly with pretty much every other mod.
Feel free to close this. The users should not be running ancient cracked versions of MultiMC.
That has been my stance up until now, don't be using ancient versions of things, mojang ships 2.9.4 so things should use that. But mitigation has been added: 68c1667