Commit 25c6dbfc authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

d3d9: Remove the double unlock test.

parent b5ddd6f0
......@@ -169,8 +169,9 @@ static void test_surface_alignment(IDirect3DDevice9 *device_ptr)
ok(SUCCEEDED(hr), "IDirect3DTexture9_LockRect: %08x\n", hr);
hr = IDirect3DTexture9_UnlockRect(pTexture, j);
ok(SUCCEEDED(hr), "IDirect3DTexture9_UnLockRect: %08x\n", hr);
hr = IDirect3DTexture9_UnlockRect(pTexture, j);
todo_wine ok(SUCCEEDED(hr), "Double IDirect3DTexture9_UnLockRect failed with %08x\n", hr);
/* Windows XP returns D3D_OK when calling UnlockRect on an unlocked surface,
* windows 7 returns an error.
*/
pitch = ((descr.Width + 3) >> 2) << 3;
if (i > 0) pitch <<= 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment