diff options
author | Ian Romanick <[email protected]> | 2007-05-09 21:51:49 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2007-05-10 08:20:41 -0700 |
commit | 87a980a795b29c5114c07a74aa5d95b6e7a7f971 (patch) | |
tree | ad78157c5ce95959fc4631aa8662c46a0983e816 /src/mesa/main/enable.c | |
parent | e282f89a380bfbc8ad4840b535b499541635ca9f (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/enable.c')
0 files changed, 0 insertions, 0 deletions