Skip to content

Commit

Permalink
Fix bug introduced in f83a8aa that made fixed pipeline tcmask render …
Browse files Browse the repository at this point in the history
…incorrectly.
  • Loading branch information
Safety0ff committed Oct 16, 2010
1 parent 850b642 commit b5e6432
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/terrain.c
Expand Up @@ -1360,6 +1360,8 @@ void drawTerrain(void)
// disable the lightmap texture
glActiveTexture(GL_TEXTURE1);
glDisable(GL_TEXTURE_2D);
glDisable(GL_TEXTURE_GEN_S);
glDisable(GL_TEXTURE_GEN_T);
glMatrixMode(GL_TEXTURE);
glLoadIdentity();
glActiveTexture(GL_TEXTURE0);
Expand Down

0 comments on commit b5e6432

Please sign in to comment.