Skip to content

Commit

Permalink
Fix light overlay glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
r8420 committed Aug 3, 2020
1 parent 0ca4cb6 commit 2410608
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -30,6 +30,7 @@ public void renderOverlays(ILightScanner scanner) {
Minecraft.getInstance().getTextureManager().bindTexture(BLANK_TEX);
GlStateManager.pushMatrix();
GL11.glLineWidth((float)(double)Config.render_spawnLineWidth.get());
GL11.glEnable(GL11.GL_DEPTH_TEST);

final Vector3d view = render.info.getProjectedView();
GlStateManager.rotatef(player.getPitch(0), 1, 0, 0); // Fixes camera rotation.

0 comments on commit 2410608

Please sign in to comment.