diff options
Diffstat (limited to 'dinput/dinput.cpp')
-rw-r--r-- | dinput/dinput.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dinput/dinput.cpp b/dinput/dinput.cpp index 5dad3eed..8909921a 100644 --- a/dinput/dinput.cpp +++ b/dinput/dinput.cpp @@ -1,5 +1,4 @@ #include "dinput.hpp" -#include "compat/win32-com.hpp" #include <QDebug> std::atomic<int> dinput_handle::refcnt; @@ -7,7 +6,7 @@ std::atomic_flag dinput_handle::init_lock = ATOMIC_FLAG_INIT; LPDIRECTINPUT8& dinput_handle::init_di() { - init_com_threading(); + CoInitialize(nullptr); static LPDIRECTINPUT8 di_ = nullptr; if (di_ == nullptr) |