From 0fab51414027073a020f57cc53df41e20b6a929f Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Tue, 18 Oct 2011 15:39:46 +0800 Subject: [PATCH] --- scene.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); -- 2.20.1