Revert. I should be calling Reset() instead.

This commit is contained in:
Steve Checkoway
2006-09-08 04:49:40 +00:00
parent 3deda620b9
commit eff97a098e
2 changed files with 0 additions and 11 deletions
-10
View File
@@ -354,16 +354,6 @@ void InputFilter::GetInputEvents( vector<InputEvent> &array )
array.swap( queue );
}
void InputFilter::FlushInputEvents()
{
/* Calling clear() will delete each InputEvent while holding the lock.
* This way, the LockMutex will be deleted before array which will unlock
* the mutex before deleting each InputEvent. */
vector<InputEvent> array;
LockMut(*queuemutex);
array.swap( queue );
}
void InputFilter::GetPressedButtons( vector<DeviceInput> &array )
{
LockMut(*queuemutex);