Reply 20 of 3949, by gulikoza
- Rank
- Oldbie
One more question...I was thinking whether to return the same addresses for buffers. For example, if frontbuffer is at 0xA and backbuffer at 0xB, should locking the backbuffer after a buffer swap return 0xA (buffers swapped?). The problem is, this would make sense if buffer pointers were swapped on the real hardware...but then again, EA is making trouble as it always writes to 0xB even when I return 0xA as if it would only remember the first address that was passed to it...The second question is what would happen if buffer lock is held across the swap 😀