From: Brian Paul Date: Mon, 15 Mar 2010 17:31:59 +0000 (-0600) Subject: progs/objviewer: remove debug code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa3cdb712fb9c9e5a710850fc9c5f9abf9ae6bbe;p=mesa.git progs/objviewer: remove debug code --- diff --git a/progs/objviewer/skybox.c b/progs/objviewer/skybox.c index 4e30742e208..93331b9c168 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;