diff options
author | Alex Deucher <[email protected]> | 2009-08-17 18:16:38 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2009-08-17 18:16:38 -0400 |
commit | af1dc225c2af6fd188cee8b0e2447d6b769518b3 (patch) | |
tree | 28a9e282a006a8cc7065228bb96a82bca0ee9890 /src/mesa/drivers/dri | |
parent | 66c632b5a1fe165718cc1fe3f2f9030ed05e4d01 (diff) |
r600: fix counting error after the last commit
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/r600/r700_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_render.c b/src/mesa/drivers/dri/r600/r700_render.c index 9e2971a3436..6985bd4ffab 100644 --- a/src/mesa/drivers/dri/r600/r700_render.c +++ b/src/mesa/drivers/dri/r600/r700_render.c @@ -323,7 +323,7 @@ static void r700RunRenderPrimitive(GLcontext * ctx, int start, int end, int prim R600_OUT_BATCH(vgt_num_indices); R600_OUT_BATCH(vgt_draw_initiator); - for (i = start; i < end; i++) { + for (i = start; i < (start + num_indices); i++) { R600_OUT_BATCH(i); } END_BATCH(); |