[PATCH 1/2] dinput/tests: Remove a no longer needed workaround.

Zebediah Figura z.figura12 at gmail.com
Fri Nov 3 17:26:58 CDT 2017


This was fixed by 41ce4a01583d552a976cb921d2991a043e0363e4.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 dlls/dinput/tests/mouse.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dlls/dinput/tests/mouse.c b/dlls/dinput/tests/mouse.c
index 262ed0e..a6c981c 100644
--- a/dlls/dinput/tests/mouse.c
+++ b/dlls/dinput/tests/mouse.c
@@ -136,8 +136,6 @@ static void test_acquire(IDirectInputA *pDI, HWND hwnd)
 
     hr = IDirectInputDevice_GetDeviceState(pMouse, sizeof(m_state), &m_state);
     ok(hr == DIERR_NOTACQUIRED, "GetDeviceState() should have failed: %08x\n", hr);
-    /* Workaround so we can test other things. Remove when Wine is fixed */
-    IDirectInputDevice_Unacquire(pMouse);
 
     hr = IDirectInputDevice_Acquire(pMouse);
     ok(hr == DIERR_OTHERAPPHASPRIO, "Acquire() should have failed: %08x\n", hr);
-- 
2.7.4




More information about the wine-patches mailing list