diff options
| author | Connor McLaughlin <stenzek@gmail.com> | 2020-05-28 16:56:13 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-28 16:56:13 +1000 |
| commit | b3c705fa968b8d9a0ea18da044c6de8841019790 (patch) | |
| tree | 35486b4baa2fe65b1d7855101323ee387d75aa86 /Source/Core | |
| parent | b4e063311ef350680ce15f72bf4980ddecb63c69 (diff) | |
| parent | ff92357b63d2dc978b25aa5c73bbe76a72786f6b (diff) | |
Merge pull request #8829 from stenzek/fix-macos-again
Core: Use window instead of surface for ControllerInterface updates
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/Core.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/DolphinQt/MainWindow.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Core/Core.cpp b/Source/Core/Core/Core.cpp index 3e3b15bde6..ea2aa355f3 100644 --- a/Source/Core/Core/Core.cpp +++ b/Source/Core/Core/Core.cpp @@ -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(); } diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp index a5180a33aa..8b8eb37f40 100644 --- a/Source/Core/DolphinQt/MainWindow.cpp +++ b/Source/Core/DolphinQt/MainWindow.cpp @@ -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); } } |
