X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=scene.c;h=496203791a666a4b516989012844e795ce976b1c;hb=1bacda10b9d25b0403fc1a4ee0514372e2932bfa;hp=c6ef084cdaf2b73bbc9b41a99a6d22b777cdae81;hpb=86cadef4c5a94d3eeecd3f18b70b6a2e1cae555e;p=atyndall%2Fcits2231.git diff --git a/scene.c b/scene.c index c6ef084..4962037 100644 --- a/scene.c +++ b/scene.c @@ -489,6 +489,7 @@ void makeMenu() { * @param h New height */ void windowReshape(int w, int h) { + zoomFactor = zoomFactor + 1; glViewport(0, 0, (GLsizei) w, (GLsizei) h); glMatrixMode(GL_PROJECTION); glLoadIdentity();