rework on shapes. Labels are showing up, but lines don't.

This commit is contained in:
gnembon committed 2021-03-16 15:31:58 -03:00
1 parent e19ae0ef0f
commit 1bd6dcbf12
6 files changed
+89 -63

No files matched your search

@@ -20,10 +20,9 @@ public class FabricAPIHooks {
WorldRenderEvents.BEFORE_DEBUG_RENDER.register(context -> {
if (CarpetClient.shapes != null) {
context.matrixStack().push();
//RenderSystem.pushMatrix();
CarpetClient.shapes.render(context.matrixStack(), context.camera(), context.tickDelta());
//RenderSystem.popMatrix();
context.matrixStack().pop();
RenderSystem.applyModelViewMatrix();
}
});
}