From 779017aa98e939a06fa38c94dd5f7fe4c0a6833e Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Tue, 18 Oct 2011 15:40:22 +0800 Subject: [PATCH] --- scene.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scene.c b/scene.c index 40293a2..93c9fb7 100644 --- a/scene.c +++ b/scene.c @@ -556,7 +556,8 @@ void display() { drawFloor(); glDisable(GL_BLEND); - glPushMatrix(); + glPushMatrix(); + glLoadIdentity(); glColor3f(1.0, 0.0, 1.0); glTranslatef(-8.0, 0.0, -10.0); @@ -565,6 +566,7 @@ void display() { glPushMatrix(); glDisable(GL_LIGHTING); + //glLoadIdentity(); glColor3f(1.0, 1.0, 1.0); /* Draw a yellow ball at the light source. */ -- 2.20.1