summaryrefslogtreecommitdiffhomepage
path: root/dinput
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-13 16:51:51 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-13 16:51:51 +0200
commit479548380392f9c41052e3fa43d91933f36b06df (patch)
treec19bed53992b9d850ff5a1f50ad9dcdf36131c64 /dinput
parentff3c744efd631ec88baa40b72296d4570f8aba64 (diff)
default to apartment threading for now
Diffstat (limited to 'dinput')
-rw-r--r--dinput/dinput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dinput/dinput.cpp b/dinput/dinput.cpp
index d408ff2f..9556815a 100644
--- a/dinput/dinput.cpp
+++ b/dinput/dinput.cpp
@@ -10,7 +10,7 @@ dinput_handle::di_t dinput_handle::handle(dinput_handle::make_di());
LPDIRECTINPUT8& dinput_handle::init_di()
{
- init_com_threading(com_multithreaded);
+ init_com_threading(com_apartment);
static LPDIRECTINPUT8 di_ = nullptr;
if (di_ == nullptr)