From 8f8cba3d67523c9a7ac58ce9b9e835188f05569f Mon Sep 17 00:00:00 2001 From: SrdjanV Date: Mon, 19 Feb 2024 19:41:28 +0100 Subject: [PATCH] Remove incorrect gl usage --- .../architecture/client/render/RenderingManager.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/java/com/elytradev/architecture/client/render/RenderingManager.java b/src/main/java/com/elytradev/architecture/client/render/RenderingManager.java index c2b8845e..ba074259 100644 --- a/src/main/java/com/elytradev/architecture/client/render/RenderingManager.java +++ b/src/main/java/com/elytradev/architecture/client/render/RenderingManager.java @@ -375,11 +375,6 @@ public IBakedModel handleItemState(IBakedModel originalModel, ItemStack stack, W rend = RenderingManager.this.getCustomRendererForState(block.getDefaultState()); } if (rend != null) { - try { - GlStateManager.shadeModel(GL_SMOOTH); - } catch (RuntimeException e) { - ArchitectureLog.warn("Failed to enable smooth shading for item models, {}", e.getMessage()); - } RenderTargetBaked target = new RenderTargetBaked(); rend.renderItemStack(stack, target, itemTrans); return target.getBakedModel();