From df70fdc95b1f1aea81517398c28e6be38e585747 Mon Sep 17 00:00:00 2001 From: bunnei Date: Thu, 1 Jun 2023 20:08:38 -0700 Subject: android: vk_turbo_mode: Remove unnecessary device recreation. - Fixes a rare crash. --- src/video_core/renderer_vulkan/vk_turbo_mode.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/video_core/renderer_vulkan/vk_turbo_mode.h') diff --git a/src/video_core/renderer_vulkan/vk_turbo_mode.h b/src/video_core/renderer_vulkan/vk_turbo_mode.h index 99b5ac50b..9341c9867 100644 --- a/src/video_core/renderer_vulkan/vk_turbo_mode.h +++ b/src/video_core/renderer_vulkan/vk_turbo_mode.h @@ -23,8 +23,10 @@ public: private: void Run(std::stop_token stop_token); +#ifndef ANDROID Device m_device; MemoryAllocator m_allocator; +#endif std::mutex m_submission_lock; std::condition_variable_any m_submission_cv; std::chrono::time_point m_submission_time{}; -- cgit v1.2.3