From 4f965da4f185e654d20838f75321c5a3fe68356f Mon Sep 17 00:00:00 2001 From: skidau Date: Sat, 28 Mar 2015 11:08:25 +1100 Subject: Revert the recent changes related to updating hwnd --- .../Core/InputCommon/ControllerInterface/ControllerInterface.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp') diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp index a3c14a0ab5..1330cb1e0a 100644 --- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp +++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp @@ -44,7 +44,7 @@ ControllerInterface g_controller_interface; void ControllerInterface::Initialize(void* const hwnd) { if (m_is_init) - DeInit(); + return; m_hwnd = hwnd; @@ -102,11 +102,6 @@ void ControllerInterface::Shutdown() delete d; } - DeInit(); -} - -void ControllerInterface::DeInit() -{ m_devices.clear(); #ifdef CIFACE_USE_XINPUT -- cgit v1.2.3