From: Ash Tyndall Date: Sun, 9 Oct 2011 07:30:04 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=8345adef5ca7c209c95758762b45de44d7650103;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index a7748d8..75ac5a8 100644 --- a/scene.c +++ b/scene.c @@ -465,6 +465,7 @@ void makeMenu() { */ void windowReshape(int width, int height) { glViewport(0, 0, (GLsizei)width, (GLsizei)height); + printf("Width: %d, height: %d", width, height); glMatrixMode(GL_PROJECTION); glLoadIdentity(); gluPerspective(60, 1, 0.1, 1000.0);