X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=helper.c;h=9eebe5096eca3a456274e93242eea0996b8aaa59;hp=b3c3f4a52bab51aea04ad1d79ac2190a28037ab5;hb=71b87df2449904293bd13f31891a483c2a0d17e1;hpb=471dd622ed2464bea11f68ca60f9876896bf629a diff --git a/helper.c b/helper.c index b3c3f4a..9eebe50 100644 --- a/helper.c +++ b/helper.c @@ -252,22 +252,22 @@ void drawSquare(int recurseLevel, float x1, float z1, float x2, float z2) { unsigned int SizeX = 8; unsigned int SizeY = 8; - glBegin(GL_QUADS); + for (unsigned int x =0;x