commit | dcce0793deb237f21eb9918b83bca08a3bf281b2 | [log] [tgz] |
---|---|---|
author | Mark Lobodzinski <mark@lunarg.com> | Mon Jan 04 09:40:19 2016 -0700 |
committer | Mark Lobodzinski <mark@lunarg.com> | Mon Jan 04 09:40:19 2016 -0700 |
tree | fe537a934a3ffad658c79559b7d1c521631d8d30 | |
parent | 46cb7b55f06aecaf44ec44b15769d8ec58d696d1 [diff] [blame] |
layers: LX258, Fix draw_state infinite loop in ResetDescriptorPool
diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp index 791821e..f4386e9 100644 --- a/layers/draw_state.cpp +++ b/layers/draw_state.cpp
@@ -2381,6 +2381,7 @@ 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) {