From 6b04c70ff168e194949f19cd9a13236fa7666495 Mon Sep 17 00:00:00 2001 From: Mark Lobodzinski Date: Mon, 4 Jan 2016 09:40:19 -0700 Subject: layers: LX258, Fix draw_state infinite loop in ResetDescriptorPool --- layers/draw_state.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'layers/draw_state.cpp') 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; iavailableDescriptorTypeCount.size(); ++i) { -- cgit v1.2.3