diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2016-01-04 09:40:19 -0700 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2016-01-04 09:40:19 -0700 |
| commit | 6b04c70ff168e194949f19cd9a13236fa7666495 (patch) | |
| tree | 53be2df141ddbbd03c283bc4dec9199210d7dd4b /layers/draw_state.cpp | |
| parent | d14968316ff0e800c60e3d9bc95db6f15a29b892 (diff) | |
| download | usermoji-6b04c70ff168e194949f19cd9a13236fa7666495.tar.xz | |
layers: LX258, Fix draw_state infinite loop in ResetDescriptorPool
Diffstat (limited to 'layers/draw_state.cpp')
| -rw-r--r-- | layers/draw_state.cpp | 1 |
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) { |
