Jump to content

  • Log In with Google      Sign In   
  • Create Account

modifying pixels from glReadPixels data


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 drefan   Members   -  Reputation: 122

Like
Likes
Like

Posted 17 August 2001 - 05:59 PM

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

Sponsor:

#2 drefan   Members   -  Reputation: 122

Like
Likes
Like

Posted 17 August 2001 - 06:02 PM

I am trying to put a type of "Signiture" on the screenshots taken, and I want them modified before writing to TGA.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS