X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=inline;f=scene.c;h=c322eb85def36ae01a81500e40bff77fae8cb5d8;hb=916773443101d71d573d82c5e699a1c94b9cb2e4;hp=bf5b7e89c61bc3cb43249b6eea6f4b3c2dfe494d;hpb=ee55eca6d8b23bd7cf6e536391c7e04719b2b8f8;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); } /**