crash on Mac openGL drivers
Closed this issue ยท 2 comments
Description of the Bug
crash when attempting to view recipes for "magnetic refrigerator"
Reproduction
open version below on a mac
view recipes for a susycore multiblock
Version
0.1.15.5
Relevant log output
FATAL ERROR in native method: Thread[#3,Client thread,7,main]: No context is current or a function that is not available in the current context was called. The JVM will abort execution.
at org.lwjgl.opengl.GL30C.nglGenVertexArrays(Native Method)
at org.lwjgl.opengl.GL30C.glGenVertexArrays(GL30C.java:2417)
at org.lwjgl.opengl.GL30.glGenVertexArrays(GL30.java:2343)
at dev.tianmi.sussypatches.client.renderer.buffer.VertexArrayObject.<init>(VertexArrayObject.java:10)
at dev.tianmi.sussypatches.client.renderer.scene.VBOWorldSceneRenderer.uploadVBO(VBOWorldSceneRenderer.java:92)
at dev.tianmi.sussypatches.client.renderer.scene.VBOWorldSceneRenderer.drawWorld(VBOWorldSceneRenderer.java:112)
at gregtech.client.renderer.scene.WorldSceneRenderer.render(WorldSceneRenderer.java:117)
etcThis is because sussypatches simply assumes that the GL context version is >= 3.0, whereas we poor mac users must suffer with GL drivers from the stone ages. I'll make a PR to sussypatches with a fix.
tested fixed by MCTian-mi/SussyPatches#15