PDA

View Full Version : PBO and glReadPixels()



Ehsan Kamrani
02-24-2007, 03:09 AM
Hi there
When using PBOs, glReadPixels() is a non-blocking function. So how can I understand that when it finishes the reading process?
-Ehsan-

Zengar
02-24-2007, 05:20 AM
The spec states that the reading process will be finished when you use the buffer data (for example, map it). I guess you can also use the NV_fence extension.