Skip to content

Commit

Permalink
Ogre: fixed SIGSEGV after device lost handling - we have to clear mUs…
Browse files Browse the repository at this point in the history
…edDescriptorPools right after mDescriptorPools.clear()
  • Loading branch information
dyunchik authored and eugenegff committed Jan 13, 2025
1 parent 634f022 commit 90e84b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RenderSystems/Vulkan/src/Vao/OgreVulkanVaoManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ namespace Ogre
}
mDescriptorPools.clear();

mUsedDescriptorPools.clear();

mEmptyVboPools.clear();

for( size_t i = 0; i < MAX_VBO_FLAG; ++i )
Expand Down

0 comments on commit 90e84b1

Please sign in to comment.