David Gironella Casademont <[EMAIL PROTECTED]> writes:

> Each time that I execute ggiResourceAcquire need to capture a pointer and
> a stride before to write to de buf->write pointer.
> Or can i do it one time when i create the buffer.

The write and read pointers may change between ggiResourceAcquire(),
and must be checked each time.
The stride value will not change.

        Marcus Sundberg        | http://www.stacken.kth.se/~mackan
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: [EMAIL PROTECTED]

Reply via email to