X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=scene.c;h=b2ff6fb24091873e2e5f55027dd81f22f6f36246;hb=89f36d1ec3b4333aff27279598bf116a5a4a1256;hp=a7748d89cc8efeac571363210929ff1609570008;hpb=c9675ed3a32c2977921f0afc02a6866b651a9f01;p=atyndall%2Fcits2231.git diff --git a/scene.c b/scene.c index a7748d8..b2ff6fb 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\n", width, height); glMatrixMode(GL_PROJECTION); glLoadIdentity(); gluPerspective(60, 1, 0.1, 1000.0);