Common: Add a render_window field to WindowSystemInfo

We need this because we need to pass the layer to MoltenVK, not
the view handle. But the input subsystem still needs the window.
This commit is contained in:
Stenzek 2020-03-11 23:09:28 +10:00
commit 86db015c23
8 changed files with 24 additions and 10 deletions

View file

@ -38,6 +38,7 @@ WindowSystemInfo PlatformHeadless::GetWindowSystemInfo() const
WindowSystemInfo wsi;
wsi.type = WindowSystemType::Headless;
wsi.display_connection = nullptr;
wsi.render_window = nullptr;
wsi.render_surface = nullptr;
return wsi;
}