From: Ash Tyndall Date: Thu, 20 Oct 2011 01:54:40 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=commitdiff_plain;h=e204dbdc0e5925daec44037f7b26c9e5984cfdb3 --- diff --git a/scene.c b/scene.c index 9f8d21f..0a186f8 100644 --- a/scene.c +++ b/scene.c @@ -500,7 +500,7 @@ void makeMenu() { */ void windowReshape(int w, int h) { glViewport(0, 0, (GLsizei) w, (GLsizei) h); - /*glMatrixMode(GL_PROJECTION); + glMatrixMode(GL_PROJECTION); glLoadIdentity(); if (w <= h) glOrtho(near, far, near*(GLfloat)h/(GLfloat)w, @@ -509,7 +509,7 @@ void windowReshape(int w, int h) { glOrtho(near*(GLfloat)w/(GLfloat)h, far*(GLfloat)w/(GLfloat)h, near, far, near, far); glMatrixMode(GL_MODELVIEW); - glLoadIdentity();*/ + glLoadIdentity(); } /**