mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
VideoBackends: Make it possible for PrepareWindow to change the surface
Again, needed for MoltenVK.
This commit is contained in:
parent
86db015c23
commit
a545344268
4 changed files with 6 additions and 5 deletions
|
@ -304,7 +304,7 @@ static bool IsRunningOnMojaveOrHigher()
|
|||
}
|
||||
#endif
|
||||
|
||||
void VideoBackend::PrepareWindow(const WindowSystemInfo& wsi)
|
||||
void VideoBackend::PrepareWindow(WindowSystemInfo& wsi)
|
||||
{
|
||||
#if defined(VK_USE_PLATFORM_MACOS_MVK)
|
||||
// This is kinda messy, but it avoids having to write Objective C++ just to create a metal layer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue