MickeyMouse
10-09-2002, 11:47 PM
My question is similar to the one asked a while ago here:
Why id[3] (Alpha component) is 255 after that?
unsigned char id[4];
glClearColor(0, 0, 0, 0);
glClear(GL_COLOR_BUFFER_BIT);
glReadPixels (10, 10, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, id);
R, G and B are properly zeroed.
I have voodoo2, could this be the reason?
Thanks for your help.
Why id[3] (Alpha component) is 255 after that?
unsigned char id[4];
glClearColor(0, 0, 0, 0);
glClear(GL_COLOR_BUFFER_BIT);
glReadPixels (10, 10, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, id);
R, G and B are properly zeroed.
I have voodoo2, could this be the reason?
Thanks for your help.