• Advertisement

Archived

This topic is now archived and is closed to further replies.

modifying pixels from glReadPixels data

This topic is 5998 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
I am trying to put a type of "Signiture" on the screenshots taken, and I want them modified before writing to TGA.

Share this post


Link to post
Share on other sites

  • Advertisement