summaryrefslogtreecommitdiffstats
path: root/progs/objviewer/skybox.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-10-01 13:14:16 -0600
committerBrian Paul <[email protected]>2009-10-01 13:14:50 -0600
commit15c57648cd87d344777e3aafa79a9be970b83979 (patch)
treed10630517501a97ad0f6755879de17a4bb759bf7 /progs/objviewer/skybox.c
parent9745e26adbb6529c39b1f4625761bf7dfa096888 (diff)
objviewer: remove disabled code
Diffstat (limited to 'progs/objviewer/skybox.c')
-rw-r--r--progs/objviewer/skybox.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/progs/objviewer/skybox.c b/progs/objviewer/skybox.c
index b298b625f27..4e30742e208 100644
--- a/progs/objviewer/skybox.c
+++ b/progs/objviewer/skybox.c
@@ -173,13 +173,10 @@ DrawSkyBoxCubeTexture(GLuint tex)
glBindTexture(GL_TEXTURE_CUBE_MAP, tex);
glEnable(GL_TEXTURE_CUBE_MAP);
- //glDisable(GL_LIGHTING);
glDisable(GL_BLEND);
glDrawArrays(GL_QUADS, 0, 24);
- //glEnable(GL_LIGHTING);
-
glDisable(GL_TEXTURE_CUBE_MAP);
glDisableClientState(GL_VERTEX_ARRAY);