aboutsummaryrefslogtreecommitdiff
path: root/layers/mem_tracker.cpp
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-04-27 11:16:35 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-04-29 11:25:22 -0600
commit29029f85423281a4ba8c03461e654cfcee5eaac4 (patch)
tree6211ac7e9f0853ed41cff041dd4f468204adc95a /layers/mem_tracker.cpp
parent586bbe3500b36a34df03760bc7aa149184ad4ede (diff)
downloadusermoji-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