From: Ash Tyndall Date: Tue, 18 Oct 2011 11:46:25 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=4beb2e498570ebfb451947a1fb7809c9a2924263;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index 541ae5f..0dae69f 100644 --- a/scene.c +++ b/scene.c @@ -599,9 +599,10 @@ int drawFloorRecurse = 2; void drawSquare(int recurseLevel, GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) { - printf("Recurse level %d\n", recurseLevel); + if ( drawFloorRecurse != recurseLevel ) { + printf("Recurse level %d\n", recurseLevel); GLfloat xm = (x1 + x2) / 2.0; GLfloat ym = (y1 + y2) / 2.0; int rnew = recurseLevel + 1;