aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);