Remove remaining input_state mutexing.

This commit is contained in:
Unknown W. Brackets committed 2017-03-14 22:07:06 -07:00
1 parent 14b1dac826
commit e1bc26e67a
2 files changed
+1 -6

No files matched your search

-1
View File
@@ -43,7 +43,6 @@ inline static void ExecuteInputPoll() {
// Hm, we may hold the input_state lock for quite a while (time it takes to poll all devices)...
// If that becomes an issue, maybe should poll to a copy of inputstate and only hold the lock while
// copying that one to the real one?
std::lock_guard<std::mutex> guard(input_state.lock);
if (host && (focused || !g_Config.bGamepadOnlyFocused)) {
host->PollControllers(input_state);
}