summaryrefslogtreecommitdiff
path: root/src/mesa/main/points.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-05-09 21:51:49 -0700
committerIan Romanick <idr@us.ibm.com>2007-05-10 08:20:41 -0700
commit87a980a795b29c5114c07a74aa5d95b6e7a7f971 (patch)
treead78157c5ce95959fc4631aa8662c46a0983e816 /src/mesa/main/points.c
parente282f89a380bfbc8ad4840b535b499541635ca9f (diff)
Refactor the loop in unbind_texobj_from_texunits.
Common code was pulled out of the per-target if-statment and put at the end of the for-loop. The common code is guarded by a new variable, curr, that is set to point to the unit's current target in each if-statement.
Diffstat (limited to 'src/mesa/main/points.c')
0 files changed, 0 insertions, 0 deletions