On Wed, 1 Sep 2010, IOhannes m zmoelnig wrote:
[pix_rectangle] could be used for that, if you are sure that you really want to modify the pixes (a faster way would be to place some properly sized geo on top of the texture, but of course this might not be exactly what you need)
Sending a 1-pixel geo takes a lot more bandwidth for just one pixel. Are you sure that the task of sending four vertices to the video card (and all of the accompanying data: glBegin, glEnd, glColor) is going to be any quicker than modifying one pixel ?
| Mathieu Bouchard ------------------------------ Villeray, Montréal, QC