From: Ash Tyndall Date: Sun, 9 Oct 2011 06:58:21 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=41e8eb95882abe806e22b182768d2dd9361953d2;hp=f459b7ee740cbf5c5e96987b0871261429cae84c;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index a2f1514..0219621 100644 --- a/scene.c +++ b/scene.c @@ -464,7 +464,7 @@ void makeMenu() { * @param h New height */ void windowReshape(int w, int h) { - GLfloat aspect = (GLfloat) h / (GLfloat) w; + GLdouble aspect = (GLfloat) h / (GLfloat) w; GLdouble n = 10.0; glViewport(0, 0, w, h);