From 0585cfa78dd72f19991be6cf3b31062e4c9face2 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Tue, 18 Oct 2011 15:39:33 +0800 Subject: [PATCH] --- scene.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scene.c b/scene.c index 0f66042..add2b73 100644 --- a/scene.c +++ b/scene.c @@ -556,14 +556,16 @@ void display() { drawFloor(); glDisable(GL_BLEND); - glPushMatrix(); + glPushMatrix(); + glLoadIdentity(); glColor3f(1.0, 0.0, 1.0); glTranslatef(-8.0, 0.0, -10.0); - glutSolidTeapot(1000); // Draw teapot for test + glutSolidTeapot(1); // Draw teapot for test glPopMatrix(); glPushMatrix(); + glLoadIdentity(); glDisable(GL_LIGHTING); glColor3f(1.0, 1.0, 1.0); -- 2.20.1