diff options
Diffstat (limited to 'opentrack-logic/dinput.cpp')
-rw-r--r-- | opentrack-logic/dinput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack-logic/dinput.cpp b/opentrack-logic/dinput.cpp index 65c1405d..ce80fe0e 100644 --- a/opentrack-logic/dinput.cpp +++ b/opentrack-logic/dinput.cpp @@ -20,7 +20,7 @@ dinput_handle::~dinput_handle() dinput_handle::di_t dinput_handle::init_di() { - HRESULT hr = CoInitializeEx(NULL, COINIT_APARTMENTTHREADED); + HRESULT hr = CoInitializeEx(NULL, COINIT_MULTITHREADED); if (FAILED(hr)) qDebug() << "dinput: failed CoInitializeEx" << hr << GetLastError(); |