objviewer: remove disabled code
authorBrian Paul <brianp@vmware.com>
Thu, 1 Oct 2009 19:14:16 +0000 (13:14 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 1 Oct 2009 19:14:50 +0000 (13:14 -0600)
progs/objviewer/skybox.c

index b298b625f27a319136721d2a708194e747c9f8fb..4e30742e208b09c54d2ed97a4a0587785578b827 100644 (file)
@@ -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);