ons, 04.02.2004 kl. 23.31 skrev Lionel Ulmer:
Then I would be drawing rectangles which are not ready for a redraw yet. Does UnLock release only last lock or all locks on these old DX versions?
Well, you need to store the rectangle at Lock time but only draw it at Unlock time. And I have no idea if any game ever does concurrent locks (so I have no idea how concurrent lock work).
If you want to see concurrent locks, grab Command & Conquer Tiberian Sun. It doesn't use those old APIs you're talking about, but if you wanted to know...