cleanup
This commit is contained in:
@@ -485,7 +485,7 @@ void InputHandler_DInput::PollAndAcquireDevices( bool bBuffered )
|
|||||||
if( Devices[i].buffered != bBuffered )
|
if( Devices[i].buffered != bBuffered )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
HRESULT hr = IDirectInputDevice2_Poll( Devices[i].Device );
|
HRESULT hr = Devices[i].Device->Poll();
|
||||||
if( hr == DIERR_INPUTLOST || hr == DIERR_NOTACQUIRED )
|
if( hr == DIERR_INPUTLOST || hr == DIERR_NOTACQUIRED )
|
||||||
{
|
{
|
||||||
INPUTFILTER->ResetDevice( Devices[i].dev );
|
INPUTFILTER->ResetDevice( Devices[i].dev );
|
||||||
|
|||||||
Reference in New Issue
Block a user