Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #8829 from stenzek/fix-macos-again
Core: Use window instead of surface for ControllerInterface updates
  • Loading branch information
stenzek committed May 28, 2020
2 parents b4e0633 + ff92357 commit b3c705f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Core/Core/Core.cpp
Expand Up @@ -498,7 +498,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();
}
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/DolphinQt/MainWindow.cpp
Expand Up @@ -1083,7 +1083,7 @@ void MainWindow::HideRenderWidget(bool reinit)
// The controller interface will still be registered to the old render widget, if the core
// has booted. Therefore, we should re-bind it to the main window for now. When the core
// is next started, it will be swapped back to the new render widget.
g_controller_interface.ChangeWindow(GetWindowSystemInfo(windowHandle()).render_surface);
g_controller_interface.ChangeWindow(GetWindowSystemInfo(windowHandle()).render_window);
}
}

Expand Down

0 comments on commit b3c705f

Please sign in to comment.