test {IDirect3DTexture8,IDirect3DSurface8}::UnlockRect for rectangles that are not locked

Louis Lenders xerox_xerox2000 at yahoo.co.uk
Thu Oct 15 16:55:33 CDT 2009


Stefan Dösinger <stefan <at> codeweavers.com> writes:

>Do I read this correctly that a double unlockrect call on a surface  
>fails, while a double unlockrect call on a texture succeeds? 

Yes




Here are some more test suggestions:

-> Create a texture, retrieve its surface, and call LockRect/ 
UnlockRect on the surface. Does this show the surface or texture  
behavior

-> What happens if you have a texture, retrieve a surface and mix  
locks on the surface and texture?

I'll see if I can fix something together later on this week




-> What is the d3d9 behavior?

Test follows, was about to send




More information about the wine-devel mailing list