From: Ash Tyndall Date: Fri, 21 Oct 2011 00:52:45 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=916773443101d71d573d82c5e699a1c94b9cb2e4;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index bf5b7e8..c322eb8 100644 --- a/scene.c +++ b/scene.c @@ -184,15 +184,6 @@ void makeMenu() { */ void windowReshape(int w, int h) { glViewport(0, 0, (GLsizei) w, (GLsizei) h); - glMatrixMode(GL_PROJECTION); - glLoadIdentity(); - if (w <= h) - glFrustum(-1, 100, -1, - 100, -1, 100); - else - glFrustum(-1, - 100, -1, 100, -1, 100); - glMatrixMode(GL_MODELVIEW); } /**