From 098e2c4077f62890f83c0785e858080e9e18296c Mon Sep 17 00:00:00 2001 From: bunnei Date: Thu, 1 Jun 2023 20:07:18 -0700 Subject: android: renderer_vulkan: Fix crash with surface recreation. --- src/android/app/src/main/jni/native.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/android/app') 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: return; } m_window->OnSurfaceChanged(m_native_window); + m_system.Renderer().NotifySurfaceChanged(); } Core::SystemResultStatus InitializeEmulation(const std::string& filepath) { -- cgit v1.2.3