summaryrefslogtreecommitdiffhomepage
path: root/opentrack-logic
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack-logic')
-rw-r--r--opentrack-logic/dinput.cpp2
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();