Skip to content

Remove incorrect gl usage#130

Open
Srdjan-V wants to merge 1 commit intoTridentMC:1.12from
Srdjan-V:1.12
Open

Remove incorrect gl usage#130
Srdjan-V wants to merge 1 commit intoTridentMC:1.12from
Srdjan-V:1.12

Conversation

@Srdjan-V
Copy link

This pr is fixing an incompatibility with lwjgl3

FATAL ERROR in native method: Thread[#201,Chunk Render Task Executor #0,3,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.lwjgl3.opengl.GL11.glShadeModel(Native Method)
    at org.lwjgl.opengl.GL11.glShadeModel(GL11.java:1551)
    at net.minecraft.client.renderer.GlStateManager.func_179103_j(SourceFile:529)
    at com.elytradev.architecture.client.render.RenderingManager$CustomItemRenderOverrideList.handleItemState(RenderingManager.java:379)
    at net.minecraft.client.renderer.RenderItem.func_184393_a(RenderItem.java:248)
    at codechicken.lib.render.item.CCRenderItem.func_184393_a(CCRenderItem.java:393)
    at slimeknights.tconstruct.library.client.model.ModelHelper.getBakedModelForItem(ModelHelper.java:61)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant