PDA

View Full Version : how can modify one pixel if i use glreadpixels() to get a pixel array



kim1980
08-16-2001, 06:34 AM
how can modify one pixel if i use glreadpixels() to get a pixel array

mikael_aronsson
08-16-2001, 01:40 PM
Huuh !, not sure what you mean here, but glReadPixels can read just one pixel if you want to..., you would then modify this pixel in the memory you copied it to. If you want it displayed then you use glDrawPixels...

Mikael