summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp
diff options
context:
space:
mode:
authorThomas May <wamwoowam@gmail.com>2020-05-06 01:30:49 +0100
committerThomas May <wamwoowam@gmail.com>2020-05-06 01:30:49 +0100
commit78e8ccea6dd1759ec4bc32d17650e7c6828b3bc0 (patch)
tree25186175944946fa314ca26226d4a1a48b162767 /Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp
parent1bedbdf3c07999f8a9fb88f64e19107e6f59b3b7 (diff)
Update ControllerInterface.cpp
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp
index 189738e76b..aae014acf9 100644
--- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp
@@ -105,7 +105,8 @@ void ControllerInterface::RefreshDevices()
InvokeDevicesChangedCallbacks();
#ifdef CIFACE_USE_WIN32
- ciface::Win32::PopulateDevices(m_wsi.render_surface);
+ // Should this be changed for other platforms? I don't have the means to test...
+ ciface::Win32::PopulateDevices(m_wsi.render_window);
#endif
#ifdef CIFACE_USE_XLIB
if (m_wsi.type == WindowSystemType::X11)