summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-07-05 22:04:45 -0700
committerKenneth Graunke <[email protected]>2014-07-08 12:31:01 -0700
commite13a6406c3d55162d6f4641f3ccca7635b9a5212 (patch)
treec6585bc51d7825ae152cbeef5b97eebad453d07a /src/mesa
parentbe536efe20d7d0969e6d5286fc488fcc1c403b63 (diff)
glsl: Fix the foreach_in_list_reverse macro.
We clearly don't want to start at the head and walk backwards; we want to start at the last real element before the tail sentinel. If the list is empty, tail_pred will be the head sentinel, and we'll stop. Nothing uses this function, so I guess nobody noticed it was broken. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa')
0 files changed, 0 insertions, 0 deletions