From: Ash Tyndall Date: Tue, 18 Oct 2011 08:03:28 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=2346e516c0f689c1e78d150134ab9781c0413faf;p=atyndall%2Fcits2231.git --- 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