Crazy glColor problem

I’m setup all the framework for an openGL program and I’ve got this crazy problem. Take a look at the following lines:

glBegin(GL_TRIANGLES);
glColor3f(1.0f,1.0f,1.0f);
glVertex2f(0,0);
glVertex2f(50,0);
glVertex2f(0,50);
glEnd();

That’s as simple as it gets but for some reason my triangle is a very dark green. I don’t get it. Why isn’t it white? I tried changing the color to a darker color and I can make the triangle black, I just can’t get it to be any brighter than dark green.

Has anyone seen anything like this?

stick this in front
glDisable(GL_LIGHTING);
glDisable(GL_TEXTURE_2D);

Thanks,

I didn’t think I had enabled textures anywhere but I did. Stupid me.