mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-06 04:55:44 +00:00
Allow safe scratch teardown on device loss
This commit is contained in:
1 parent
4c977a0c9c
commit
995aea5740
1 file changed
+2
-2
@@ -176,8 +176,8 @@ static void destroyScratch(const DeviceDispatch* dd, VkDevice dev, VkDescriptorP
|
||||
S = ScratchState{};
|
||||
}
|
||||
|
||||
void FrameGen::destroyScratchResources() {
|
||||
destroyScratch(dd_, device_, descPool_);
|
||||
void FrameGen::destroyScratchResources(bool resetPool) {
|
||||
destroyScratch(dd_, device_, descPool_, resetPool);
|
||||
}
|
||||
|
||||
void FrameGen::configure(const Config& c) {
|
||||
|
||||
Reference in new issue
Block a user