(no commit message)
authorAsh Tyndall <[email protected]>
Tue, 18 Oct 2011 08:03:28 +0000 (16:03 +0800)
committerAsh Tyndall <[email protected]>
Tue, 18 Oct 2011 08:03:28 +0000 (16:03 +0800)
scene.c

diff --git a/scene.c b/scene.c
index b66be6f..cbe3b56 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -557,8 +557,9 @@ void display() {
     drawFloor();\r
     glDisable(GL_BLEND);\r
 \r
+    glMatrixMode(GL_PROJECTION);\r
     glPushMatrix();\r
-    glLoadIdentity();\r
+    \r
       glTranslatef(0.0, 0.0, 0.0);\r
 \r
       glutSolidTeapot(5); // Draw teapot for test\r

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