summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/version.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2007-05-09 21:51:49 -0700
committerIan Romanick <[email protected]>2007-05-10 08:20:41 -0700
commit87a980a795b29c5114c07a74aa5d95b6e7a7f971 (patch)
treead78157c5ce95959fc4631aa8662c46a0983e816 /src/mesa/main/version.h
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/version.h')
0 files changed, 0 insertions, 0 deletions