From 95faef1776b987d75d34b5f20b146948d6165234 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 21 Sep 2006 07:41:22 +0000 Subject: [PATCH] cleanup --- stepmania/src/arch/InputHandler/InputHandler_DirectInput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/arch/InputHandler/InputHandler_DirectInput.cpp b/stepmania/src/arch/InputHandler/InputHandler_DirectInput.cpp index a13e04ff5f..58cfa97bc4 100644 --- a/stepmania/src/arch/InputHandler/InputHandler_DirectInput.cpp +++ b/stepmania/src/arch/InputHandler/InputHandler_DirectInput.cpp @@ -485,7 +485,7 @@ void InputHandler_DInput::PollAndAcquireDevices( bool bBuffered ) if( Devices[i].buffered != bBuffered ) continue; - HRESULT hr = IDirectInputDevice2_Poll( Devices[i].Device ); + HRESULT hr = Devices[i].Device->Poll(); if( hr == DIERR_INPUTLOST || hr == DIERR_NOTACQUIRED ) { INPUTFILTER->ResetDevice( Devices[i].dev );