I'm trying to follow the directions from this page:
http://www.opengl.org/resources/faq/technical/color.htm
regarding rendering primitives with a unique color
I've checked the number of bits for every color and the result was 8 for each.
When calling:
glColor3ui(0x80000000, 0, 0xFF000000);
and reading back the pixel with glReadPixels() I get the color: 0xFFFE007F
which corresponts to R=0x7F, G=0, B=0xFE
The two lower bits of Red and Blue are wrong.
Why is that?
I'm using a brand new nVidia card on a dell laptop with the most current drivers