From: Ash Tyndall Date: Tue, 18 Oct 2011 12:49:29 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=1bacda10b9d25b0403fc1a4ee0514372e2932bfa;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();