From 784fe452a7e11da5bf8879f5c1f988d038b9f857 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Thu, 20 Oct 2011 20:33:57 +0800 Subject: [PATCH] --- scene.c | 1 + 1 file changed, 1 insertion(+) diff --git a/scene.c b/scene.c index 391cd46..24de6b5 100644 --- a/scene.c +++ b/scene.c @@ -407,6 +407,7 @@ int main(int argc, char **argv) { glShadeModel(GL_SMOOTH); // Enables Smooth Shading glClearColor(0.0f, 0.0f, 0.0f, 0.0f); // Black Background glClearDepth(1.0f); // Depth Buffer Setup + glDepthRange(0,1); glEnable(GL_DEPTH_TEST); // Enables Depth Testing glDepthFunc(GL_LEQUAL); // the type glEnable(GL_CULL_FACE); -- 2.20.1