(no commit message)
authorAsh Tyndall <[email protected]>
Thu, 20 Oct 2011 12:33:57 +0000 (20:33 +0800)
committerAsh Tyndall <[email protected]>
Thu, 20 Oct 2011 12:33:57 +0000 (20:33 +0800)
scene.c

diff --git a/scene.c b/scene.c
index 391cd46..24de6b5 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -407,6 +407,7 @@ int main(int argc, char **argv) {
   glShadeModel(GL_SMOOTH); // Enables Smooth Shading\r
   glClearColor(0.0f, 0.0f, 0.0f, 0.0f); // Black Background\r
   glClearDepth(1.0f); // Depth Buffer Setup\r
+  glDepthRange(0,1);\r
   glEnable(GL_DEPTH_TEST); // Enables Depth Testing\r
   glDepthFunc(GL_LEQUAL);  // the type\r
   glEnable(GL_CULL_FACE);\r

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