From 78e8ccea6dd1759ec4bc32d17650e7c6828b3bc0 Mon Sep 17 00:00:00 2001 From: Thomas May Date: Wed, 6 May 2020 01:30:49 +0100 Subject: [PATCH] Update ControllerInterface.cpp --- .../InputCommon/ControllerInterface/ControllerInterface.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)