From f060b203a10568807bc3810b28628d28df8d74e4 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Sat, 22 Oct 2011 15:22:59 +0800 Subject: [PATCH] --- helper.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/helper.c b/helper.c index e933bb1..34667ec 100644 --- a/helper.c +++ b/helper.c @@ -355,11 +355,9 @@ void updateLights() { // Draw light ball for light glPushMatrix(); - glColor3f(1.0, 1.0, 1.0); + glColor3f(0.0, 1.0, 1.0); glTranslatef(lightObjs[i].position[0], lightObjs[i].position[1], lightObjs[i].position[2]); - glPushAttrib(GL_NORMALIZE); - glutSolidSphere(lightBallSize, 20, 20); - glPopAttrib() ; + glutSolidSphere(lightBallSize, 20, 20);; glPopMatrix(); } -- 2.20.1