diff options
| author | 2023-06-01 20:07:18 -0700 | |
|---|---|---|
| committer | 2023-06-03 00:06:07 -0700 | |
| commit | 098e2c4077f62890f83c0785e858080e9e18296c (patch) | |
| tree | 1b76d9222948d49fbaa1252471774e81aae1419b /src/android | |
| parent | android: Fix presentation layout on foldable and tablet devices. (diff) | |
| download | yuzu-098e2c4077f62890f83c0785e858080e9e18296c.tar.gz yuzu-098e2c4077f62890f83c0785e858080e9e18296c.tar.xz yuzu-098e2c4077f62890f83c0785e858080e9e18296c.zip | |
android: renderer_vulkan: Fix crash with surface recreation.
Diffstat (limited to 'src/android')
| -rw-r--r-- | src/android/app/src/main/jni/native.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/android/app/src/main/jni/native.cpp b/src/android/app/src/main/jni/native.cpp index d503ef61d..b87e04b3d 100644 --- a/src/android/app/src/main/jni/native.cpp +++ b/src/android/app/src/main/jni/native.cpp | |||
| @@ -148,6 +148,7 @@ public: | |||
| 148 | return; | 148 | return; |
| 149 | } | 149 | } |
| 150 | m_window->OnSurfaceChanged(m_native_window); | 150 | m_window->OnSurfaceChanged(m_native_window); |
| 151 | m_system.Renderer().NotifySurfaceChanged(); | ||
| 151 | } | 152 | } |
| 152 | 153 | ||
| 153 | Core::SystemResultStatus InitializeEmulation(const std::string& filepath) { | 154 | Core::SystemResultStatus InitializeEmulation(const std::string& filepath) { |