projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9745e26
)
objviewer: remove disabled code
author
Brian Paul
<brianp@vmware.com>
Thu, 1 Oct 2009 19:14:16 +0000
(13:14 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 1 Oct 2009 19:14:50 +0000
(13:14 -0600)
progs/objviewer/skybox.c
patch
|
blob
|
history
diff --git
a/progs/objviewer/skybox.c
b/progs/objviewer/skybox.c
index b298b625f27a319136721d2a708194e747c9f8fb..4e30742e208b09c54d2ed97a4a0587785578b827 100644
(file)
--- 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);