Core: Use window instead of surface for ControllerInterface updates

Fixes crashes with Vulkan on macOS.
This commit is contained in:
Stenzek
2020-05-24 17:35:39 +10:00
parent 393ce529af
commit ff92357b63
2 changed files with 2 additions and 2 deletions

View File

@ -502,7 +502,7 @@ static void EmuThread(std::unique_ptr<BootParameters> boot, WindowSystemInfo wsi
}
else
{
g_controller_interface.ChangeWindow(wsi.render_surface);
g_controller_interface.ChangeWindow(wsi.render_window);
Pad::LoadConfig();
Keyboard::LoadConfig();
}