Original Post
I do:
*********
glReadPixels(x,y,width,height,format,type,pixels);
pixels[0] = 255;
pixels[1] = 255;
pixels[2] = 255;
*********
I get compiler error:
*********
: error C2036: 'void *' : unknown size
: error C2120: 'void' illegal with all types
*********
Im trying to modify a pixel to a certain color.
What am I doing wrong here?
Edited by - Drefan on August 18, 2001 1:03:30 AM