summaryrefslogtreecommitdiff
path: root/progs/objviewer
diff options
context:
space:
mode:
Diffstat (limited to 'progs/objviewer')
-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 b298b625f2..4e30742e20 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);