Hello
I want to make a grey box, when the users quits, but i can’t same to set the color to grey, it stays in the color blue.
if(draw_quit_scene)
{
glColor3f(0.5, 0.5, 0.5);
glBegin(GL_QUADS);
glVertex3f(-0.5, -0.5, -1.0);
glVertex3f(-0.5, 0.5, -1.0);
glVertex3f(0.5, 0.5, -1.0);
glVertex3f(0.5, -0.5, -1.0);
glEnd();
...
...
}
That is my code that should draw a gray box, but instead of drawing a gray box it draws a blue box.
Anyone an idea what the problem could be?
Thanx Hylke