diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2010-07-08 13:06:22 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-07-09 09:46:07 -0700 |
commit | f3290e950cd78a423d380b7e0a7aa18eb7718e27 (patch) | |
tree | 9f134837e59bc40d35c9202805134596627519df /src/mesa/tnl/t_pipeline.h | |
parent | dfd30ca6a95a7d95835dad78ffe1fba4d1f4ef69 (diff) |
glsl2: Add foreach_list_safe which works even when mutating the list.
In particular, with foreach_list_safe, one can remove and free the current
node without crashes; if new nodes are added after the current node,
they will be properly visited as well.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/mesa/tnl/t_pipeline.h')
0 files changed, 0 insertions, 0 deletions