Skip to content

Commit

Permalink
Fixing strange lighting bug. That was a bitch to find but now I know …
Browse files Browse the repository at this point in the history
…more about where to find that one.
  • Loading branch information
Cardinalstars authored and Dream-Master committed Nov 20, 2023
1 parent ffc1805 commit cf2c1c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private void renderCubes(float time) {
}

GL11.glEnable(GL11.GL_TEXTURE_2D);
GL11.glDisable(GL11.GL_LIGHTING);
GL11.glEnable(GL11.GL_LIGHTING);
}

protected void drawCube(float theta, float phi) {
Expand Down

0 comments on commit cf2c1c1

Please sign in to comment.