summaryrefslogtreecommitdiff
path: root/Source/Android/jni/MainAndroid.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2020-03-12 03:52:47 -0400
committerGitHub <noreply@github.com>2020-03-12 03:52:47 -0400
commit15acce847d44564afcc5b49ef26171fe4c4e51d2 (patch)
tree92fb4573007ef87e27f5a7d7518e59f780fd9dec /Source/Android/jni/MainAndroid.cpp
parentbb7623e3ba4c5ed1d7089e6c9be388d0f0272c2e (diff)
parentcdb0aa850da6fead21224eeed82df34e87e08fcc (diff)
Merge pull request #8666 from stenzek/fix-macos-vulkan-yet-again
Fix Vulkan/MoltenVK on macOS yet again
Diffstat (limited to 'Source/Android/jni/MainAndroid.cpp')
-rw-r--r--Source/Android/jni/MainAndroid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Android/jni/MainAndroid.cpp b/Source/Android/jni/MainAndroid.cpp
index 2b8b91de74..9b081b9ad1 100644
--- a/Source/Android/jni/MainAndroid.cpp
+++ b/Source/Android/jni/MainAndroid.cpp
@@ -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))
{