Skip to content

Commit

Permalink
Fix resources getting deleted prematurely in vkutil::ResourcePool
Browse files Browse the repository at this point in the history
ResourcePool wasn't waiting for resources to expire before deleting them. Instead of deleting them on the spot, let them sit in the pool until they expire. Also add a cleanExcessExpiredResources() method that the renderContext can call every frame at the same time it's deleting other expired Vulkan resources.

Diffs=
7a9e69314d Fix resources getting deleted prematurely in vkutil::ResourcePool (#8411)
  • Loading branch information
csmartdalton committed Oct 28, 2024
1 parent 1a13b62 commit 171b754
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9a92c63c7725f97369339df8b207ea273ea53cfd
7a9e69314dcad3069d04f866b5dece40873023e0

0 comments on commit 171b754

Please sign in to comment.