(no commit message)
authorAsh Tyndall <[email protected]>
Fri, 21 Oct 2011 01:31:57 +0000 (09:31 +0800)
committerAsh Tyndall <[email protected]>
Fri, 21 Oct 2011 01:31:57 +0000 (09:31 +0800)
scene.c

diff --git a/scene.c b/scene.c
index 230901a..2c0d4de 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -412,7 +412,8 @@ int main(int argc, char **argv) {
   glDepthRange(0,1);\r
   glEnable(GL_DEPTH_TEST); // Enables Depth Testing\r
   glDepthFunc(GL_LEQUAL);  // the type\r
-  //glEnable(GL_CULL_FACE);\r
+  glEnable(GL_CULL_FACE);\r
+  glCullFace(GL_BACK);\r
   glEnable(GL_TEXTURE_2D);\r
   glEnable(GL_NORMALIZE);\r
   glLineWidth(1.0);\r

UCC git Repository :: git.ucc.asn.au