lines were rendering through with the text
This commit is contained in:
1 parent
022c091fff
commit
b1d0ce7521
1 file changed
+3
-2
@@ -263,8 +263,9 @@ public class ShapesRenderer
|
|||||||
textRenderer.draw(shape.value, text_x, 0.0F, shape.textcolor, false, Rotation3.identity().getMatrix(), immediate, false, shape.textbck, 15728880);
|
textRenderer.draw(shape.value, text_x, 0.0F, shape.textcolor, false, Rotation3.identity().getMatrix(), immediate, false, shape.textbck, 15728880);
|
||||||
immediate.draw();
|
immediate.draw();
|
||||||
RenderSystem.popMatrix();
|
RenderSystem.popMatrix();
|
||||||
if (shape.doublesided)
|
RenderSystem.enableCull();
|
||||||
RenderSystem.enableCull();
|
RenderSystem.enableDepthTest();
|
||||||
|
RenderSystem.depthFunc(515);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user