diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-09 17:03:35 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-10 10:41:58 +0200 |
commit | c160afe719611b27910d8347ece6e49ee2a3b32f (patch) | |
tree | 3af84e3136be3e5f803e215850d3be8c5b72e96e /opentrack-logic | |
parent | d8ebca7a6bb8cbff2f7ed5d62a6695695c0809e4 (diff) |
change COM threading apartmentthreaded -> multithreaded
Diffstat (limited to 'opentrack-logic')
-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(); |