mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-26 06:18:32 +00:00
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:
parent
bb7623e3ba
commit
86db015c23
8 changed files with 24 additions and 10 deletions
|
@ -680,7 +680,7 @@ static void Run(JNIEnv* env, const std::vector<std::string>& paths,
|
|||
s_have_wm_user_stop = false;
|
||||
std::unique_ptr<BootParameters> boot = BootParameters::GenerateFromFile(paths, savestate_path);
|
||||
boot->delete_savestate = delete_savestate;
|
||||
WindowSystemInfo wsi(WindowSystemType::Android, nullptr, s_surf);
|
||||
WindowSystemInfo wsi(WindowSystemType::Android, nullptr, s_surf, s_surf);
|
||||
wsi.render_surface_scale = GetRenderSurfaceScale(env);
|
||||
if (BootManager::BootCore(std::move(boot), wsi))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue