X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=scene.c;h=021962126e093ba94391bbfa15640caf70da6f2e;hb=41e8eb95882abe806e22b182768d2dd9361953d2;hp=a2f1514e6c8314629052eb5dd89e58ebe2c28252;hpb=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);