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

diff --git a/scene.c b/scene.c
index 7e287ed..bd927d9 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -410,6 +410,7 @@ int main(int argc, char **argv) {
   glDepthFunc(GL_LEQUAL);  // the type\r
   glEnable(GL_CULL_FACE);\r
   glEnable(GL_TEXTURE_2D);\r
   glDepthFunc(GL_LEQUAL);  // the type\r
   glEnable(GL_CULL_FACE);\r
   glEnable(GL_TEXTURE_2D);\r
+  glEnable(GL_NORMALIZE);\r
   glLineWidth(1.0);\r
 \r
   glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);\r
   glLineWidth(1.0);\r
 \r
   glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);\r

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