From: Ash Tyndall Date: Fri, 21 Oct 2011 01:31:57 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=003a5a6e25cd4e8444d90e2595189fb642cdb70b;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index 230901a..2c0d4de 100644 --- a/scene.c +++ b/scene.c @@ -412,7 +412,8 @@ int main(int argc, char **argv) { glDepthRange(0,1); glEnable(GL_DEPTH_TEST); // Enables Depth Testing glDepthFunc(GL_LEQUAL); // the type - //glEnable(GL_CULL_FACE); + glEnable(GL_CULL_FACE); + glCullFace(GL_BACK); glEnable(GL_TEXTURE_2D); glEnable(GL_NORMALIZE); glLineWidth(1.0);