From: Ash Tyndall Date: Tue, 18 Oct 2011 07:39:46 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=0fab51414027073a020f57cc53df41e20b6a929f;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index add2b73..40293a2 100644 --- a/scene.c +++ b/scene.c @@ -556,8 +556,7 @@ void display() { drawFloor(); glDisable(GL_BLEND); - glPushMatrix(); - glLoadIdentity(); + glPushMatrix(); glColor3f(1.0, 0.0, 1.0); glTranslatef(-8.0, 0.0, -10.0); @@ -565,7 +564,6 @@ void display() { glPopMatrix(); glPushMatrix(); - glLoadIdentity(); glDisable(GL_LIGHTING); glColor3f(1.0, 1.0, 1.0);