(no commit message)
authorAsh Tyndall <[email protected]>
Thu, 20 Oct 2011 13:00:28 +0000 (21:00 +0800)
committerAsh Tyndall <[email protected]>
Thu, 20 Oct 2011 13:00:28 +0000 (21:00 +0800)
scene.c

diff --git a/scene.c b/scene.c
index ce9ed45..34a18e4 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -364,7 +364,7 @@ void init() {
   glLoadIdentity();\r
 \r
   // **NOTE: Needs tidy\r
-\r
+glEnable(GL_NORMALIZE);\r
   glLightfv(GL_LIGHT0, GL_POSITION, light0_pos);\r
   glLightfv(GL_LIGHT0, GL_AMBIENT, ambient0);\r
   glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse0);\r

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