diff options
author | Brian Paul <brianp@vmware.com> | 2010-03-15 11:31:59 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-03-15 11:31:59 -0600 |
commit | aa3cdb712fb9c9e5a710850fc9c5f9abf9ae6bbe (patch) | |
tree | bd9b2422f1fac2ef68fd4fcfc3d3c19f596471ec | |
parent | d25d3cc0086a1a2a5b6c41ad37c035c33d56a487 (diff) | |
download | external_mesa3d-aa3cdb712fb9c9e5a710850fc9c5f9abf9ae6bbe.zip external_mesa3d-aa3cdb712fb9c9e5a710850fc9c5f9abf9ae6bbe.tar.gz external_mesa3d-aa3cdb712fb9c9e5a710850fc9c5f9abf9ae6bbe.tar.bz2 |
progs/objviewer: remove debug code
-rw-r--r-- | progs/objviewer/skybox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/objviewer/skybox.c b/progs/objviewer/skybox.c index 4e30742..93331b9 100644 --- a/progs/objviewer/skybox.c +++ b/progs/objviewer/skybox.c @@ -88,9 +88,9 @@ LoadSkyBoxCubeTexture(const char *filePosX, return 0; if (!load(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, fileNegX, GL_TRUE, GL_TRUE)) return 0; - if (!load(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, filePosY, 1+GL_FALSE, GL_TRUE)) + if (!load(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, filePosY, GL_TRUE, GL_TRUE)) return 0; - if (!load(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, fileNegY, 1+GL_FALSE, GL_TRUE)) + if (!load(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, fileNegY, GL_TRUE, GL_TRUE)) return 0; if (!load(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, filePosZ, GL_TRUE, GL_TRUE)) return 0; |