X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=40293a2dbee05621fd6191a5cbb431985a41e4a3;hp=add2b73462dd1a144ab4abc97c1fd9a33a453d59;hb=0fab51414027073a020f57cc53df41e20b6a929f;hpb=0585cfa78dd72f19991be6cf3b31062e4c9face2 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);