From 90e84b1fa75093b6f097fa732dbca16b284ea375 Mon Sep 17 00:00:00 2001 From: "Dmytro Yunchyk(aka DimA)" Date: Sat, 11 Jan 2025 18:06:41 +0200 Subject: [PATCH] Ogre: fixed SIGSEGV after device lost handling - we have to clear mUsedDescriptorPools right after mDescriptorPools.clear() --- RenderSystems/Vulkan/src/Vao/OgreVulkanVaoManager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RenderSystems/Vulkan/src/Vao/OgreVulkanVaoManager.cpp b/RenderSystems/Vulkan/src/Vao/OgreVulkanVaoManager.cpp index 99ebae1ece..06c7652841 100644 --- a/RenderSystems/Vulkan/src/Vao/OgreVulkanVaoManager.cpp +++ b/RenderSystems/Vulkan/src/Vao/OgreVulkanVaoManager.cpp @@ -251,6 +251,8 @@ namespace Ogre } mDescriptorPools.clear(); + mUsedDescriptorPools.clear(); + mEmptyVboPools.clear(); for( size_t i = 0; i < MAX_VBO_FLAG; ++i )