GlStateManager usage in BakedCustomItemModel will lead to crashes
asiekierka opened this issue ยท 1 comments
See this crash as an example.
IBakedModel baking, if done in-world, happens (a) off the main thread and (b) outside of the actual OpenGL context. Using GlStateManager inside will only work if the IBakedModel is being rendered directly to OpenGL and not into a VBO - otherwise, you will get a crash.
Duplicate of #3748