diff options
author | Alex Deucher <[email protected]> | 2009-08-19 10:31:17 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2009-08-19 11:59:03 -0400 |
commit | d551b3ac88bffae7e0170ca3f0993c8dcd491c32 (patch) | |
tree | 7a72308f5ffd6261f590f36daf291ffe8b43bab1 /src/mesa/drivers/dri/r600/r700_chip.c | |
parent | 0259a2ad695d60d5293147d37b8f6d482146becb (diff) |
r600: minor cleanup
Diffstat (limited to 'src/mesa/drivers/dri/r600/r700_chip.c')
-rw-r--r-- | src/mesa/drivers/dri/r600/r700_chip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_chip.c b/src/mesa/drivers/dri/r600/r700_chip.c index 0fb355a0b6a..f461d08a707 100644 --- a/src/mesa/drivers/dri/r600/r700_chip.c +++ b/src/mesa/drivers/dri/r600/r700_chip.c @@ -408,7 +408,6 @@ int r700SetupStreams(GLcontext * ctx) END_BATCH(); COMMIT_BATCH(); - context->radeon.tcl.aos_count = 0; for(i=0; i<VERT_ATTRIB_MAX; i++) { unBit = 1 << i; @@ -429,9 +428,9 @@ int r700SetupStreams(GLcontext * ctx) (unsigned int)context->radeon.tcl.aos[j].stride * 4, (unsigned int)context->radeon.tcl.aos[j].count); j++; - context->radeon.tcl.aos_count++; } } + context->radeon.tcl.aos_count = j; return R600_FALLBACK_NONE; } |