summaryrefslogtreecommitdiffhomepage
path: root/dinput/dinput.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-15 10:13:53 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-15 10:13:53 +0200
commit7cde5013b510d997c8048512f44d87e854480bd0 (patch)
tree3b1b628b5c2c57410029d24d29280044e846a237 /dinput/dinput.cpp
parenta95313c4ecde314abeb00ee9b5cb287e64658e83 (diff)
dinput, COM: temporary fixes, to be tested
Diffstat (limited to 'dinput/dinput.cpp')
-rw-r--r--dinput/dinput.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/dinput/dinput.cpp b/dinput/dinput.cpp
index 9556815a..1b0cf09d 100644
--- a/dinput/dinput.cpp
+++ b/dinput/dinput.cpp
@@ -6,11 +6,10 @@
std::atomic<int> dinput_handle::refcnt;
std::atomic_flag dinput_handle::init_lock = ATOMIC_FLAG_INIT;
-dinput_handle::di_t dinput_handle::handle(dinput_handle::make_di());
LPDIRECTINPUT8& dinput_handle::init_di()
{
- init_com_threading(com_apartment);
+ init_com_threading(com_multithreaded);
static LPDIRECTINPUT8 di_ = nullptr;
if (di_ == nullptr)