diff --git a/view.cpp b/view.cpp index 4310170..2bfd059 100644 --- a/view.cpp +++ b/view.cpp @@ -110,7 +110,7 @@ void View::renderScene(int lastTime, int currentTime) { } glBegin(GL_QUADS); - glColor(60,20,255); + glColor3ub(60,20,255); glVertex3f(x-d,y+d,z+d); glVertex3f(x+d,y+d,z+d); glVertex3f(x+d,y-d,z+d);