aboutsummaryrefslogtreecommitdiff
path: root/layers/draw_state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layers/draw_state.cpp')
-rw-r--r--layers/draw_state.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp
index 791821e2..f4386e96 100644
--- a/layers/draw_state.cpp
+++ b/layers/draw_state.cpp
@@ -2381,6 +2381,7 @@ static void clearDescriptorPool(layer_data* my_data, const VkDevice device, cons
SET_NODE* pSet = pPool->pSets;
while (pSet) {
clearDescriptorSet(my_data, pSet->set);
+ pSet = pSet->pNext;
}
// Reset available count to max count for this pool
for (uint32_t i=0; i<pPool->availableDescriptorTypeCount.size(); ++i) {