From 2346e516c0f689c1e78d150134ab9781c0413faf Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Tue, 18 Oct 2011 16:03:28 +0800 Subject: [PATCH] --- scene.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scene.c b/scene.c index b66be6f..cbe3b56 100644 --- a/scene.c +++ b/scene.c @@ -557,8 +557,9 @@ void display() { drawFloor(); glDisable(GL_BLEND); + glMatrixMode(GL_PROJECTION); glPushMatrix(); - glLoadIdentity(); + glTranslatef(0.0, 0.0, 0.0); glutSolidTeapot(5); // Draw teapot for test -- 2.20.1