From 916773443101d71d573d82c5e699a1c94b9cb2e4 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Fri, 21 Oct 2011 08:52:45 +0800 Subject: [PATCH] --- scene.c | 9 --------- 1 file changed, 9 deletions(-) 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); } /** -- 2.20.1