From: Alex Deucher Date: Wed, 19 Aug 2009 14:31:17 +0000 (-0400) Subject: r600: minor cleanup X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d551b3ac88bffae7e0170ca3f0993c8dcd491c32;p=mesa.git r600: minor cleanup --- 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; iradeon.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; }