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

Stefan Dösinger stefandoesinger at gmx.at
Thu Oct 15 16:10:38 CDT 2009


Do I read this correctly that a double unlockrect call on a surface  
fails, while a double unlockrect call on a texture succeeds? From the  
context of the patch its a bit hard to read.

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?

-> What is the d3d9 behavior?




More information about the wine-devel mailing list