diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-04-27 11:16:35 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-04-29 11:25:22 -0600 |
| commit | 29029f85423281a4ba8c03461e654cfcee5eaac4 (patch) | |
| tree | 6211ac7e9f0853ed41cff041dd4f468204adc95a /layers/mem_tracker.cpp | |
| parent | 586bbe3500b36a34df03760bc7aa149184ad4ede (diff) | |
| download | usermoji-29029f85423281a4ba8c03461e654cfcee5eaac4.tar.xz | |
draw_state: Fix Microsoft C++ assert
The C++ runtime library was issuing an assert on the following line:
for (vector<CMD_NODE*>::iterator ii=pCB->pCmds.begin(); ii!=pCB->pCmds.end(); ++ii) {
It was complaining that the iterator ii was not compatible with the
pCmds.end(). Tracing down the assert, the C++ library did not like the
fact that we were accessing pCmds through a pointer (pCB). If we made a
local copy of the pCmds vector the assert went away.
Diffstat (limited to 'layers/mem_tracker.cpp')
0 files changed, 0 insertions, 0 deletions
