remove unused
This commit is contained in:
@@ -482,15 +482,12 @@ void InputHandler_DInput::InputThreadMain()
|
|||||||
/* Enable priority boosting. */
|
/* Enable priority boosting. */
|
||||||
SetThreadPriorityBoost( GetCurrentThread(), FALSE );
|
SetThreadPriorityBoost( GetCurrentThread(), FALSE );
|
||||||
|
|
||||||
vector<DIDevice*> BufferedDevices, UnbufferedDevices;
|
vector<DIDevice*> BufferedDevices;
|
||||||
HANDLE Handle = CreateEvent(NULL, FALSE, FALSE, NULL);
|
HANDLE Handle = CreateEvent(NULL, FALSE, FALSE, NULL);
|
||||||
for( unsigned i = 0; i < Devices.size(); ++i )
|
for( unsigned i = 0; i < Devices.size(); ++i )
|
||||||
{
|
{
|
||||||
if( !Devices[i].buffered )
|
if( !Devices[i].buffered )
|
||||||
{
|
|
||||||
UnbufferedDevices.push_back( &Devices[i] );
|
|
||||||
continue;
|
continue;
|
||||||
}
|
|
||||||
|
|
||||||
BufferedDevices.push_back( &Devices[i] );
|
BufferedDevices.push_back( &Devices[i] );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user