dinput: Correct test - use appropriate mouse state structure.
This commit is contained in:
parent
1d5575b905
commit
1f72c13a5a
|
@ -72,7 +72,7 @@ static void test_acquire(LPDIRECTINPUT pDI, HWND hwnd)
|
|||
{
|
||||
HRESULT hr;
|
||||
LPDIRECTINPUTDEVICE pMouse = NULL;
|
||||
DIMOUSESTATE2 m_state;
|
||||
DIMOUSESTATE m_state;
|
||||
|
||||
hr = IDirectInput_CreateDevice(pDI, &GUID_SysMouse, &pMouse, NULL);
|
||||
ok(SUCCEEDED(hr), "IDirectInput_CreateDevice() failed: %s\n", DXGetErrorString8(hr));
|
||||
|
|
Loading…
Reference in New Issue