From 688788bca476f49c2a198755204816f105267a14 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Sun, 9 Oct 2011 14:48:15 +0800 Subject: [PATCH] --- scene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene.c b/scene.c index 457e23d..b85ed9f 100644 --- a/scene.c +++ b/scene.c @@ -469,7 +469,7 @@ void windowReshape(int w, int h) { glLoadIdentity(); // Reset The Projection Matrix // Calculate The Aspect Ratio Of The Window - gluPerspective(45.0f,(GLfloat)w/(GLfloat)h,0.1f,100.0f); + gluPerspective(45.0f,45.0f,0.1f,100.0f); glMatrixMode(GL_MODELVIEW); // Select The Modelview Matrix glLoadIdentity(); // Reset The Modelview Matrix -- 2.20.1