Core: Fix display being passed as surface to ControllerInterface

This commit is contained in:
Stenzek 2018-10-24 15:24:10 +10:00
parent 1e8cdc02d1
commit 8c84e27155
1 changed files with 1 additions and 1 deletions

View File

@ -459,7 +459,7 @@ static void EmuThread(std::unique_ptr<BootParameters> boot, WindowSystemInfo wsi
bool init_controllers = false;
if (!g_controller_interface.IsInit())
{
g_controller_interface.Initialize(wsi.display_connection);
g_controller_interface.Initialize(wsi.render_surface);
Pad::Initialize();
Keyboard::Initialize();
init_controllers = true;