Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

modifying pixels from glReadPixels data

4: Adsense

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   

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

#2 drefan   Members   

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.