http://bugs.winehq.org/show_bug.cgi?id=19862
--- Comment #4 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2009-08-31 04:32:58 --- Created an attachment (id=23348) --> (http://bugs.winehq.org/attachment.cgi?id=23348) d3d8: test unlocking twice.
I saw there was a test for double locking already, so i just merged a few lines for double unlocking, that was the easiest. Hope that's ok
I tested in windows, and it appaers IDirect3DTexture8_UnlockRect does return D3D_OK, when unlocking twice.
IDirect3DSurface8_UnlockRect returns D3DERR_INVALIDCALL in that case
I'll attach tests for d3d9 hereafter