diff --git a/app/src/main/cpp/framegen/ddfg/record_impl.inc b/app/src/main/cpp/framegen/ddfg/record_impl.inc index 3de7e4ff65..5740edd325 100644 --- a/app/src/main/cpp/framegen/ddfg/record_impl.inc +++ b/app/src/main/cpp/framegen/ddfg/record_impl.inc @@ -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) {