projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66c632b
)
r600: fix counting error after the last commit
author
Alex Deucher
<alexdeucher@gmail.com>
Mon, 17 Aug 2009 22:16:38 +0000
(18:16 -0400)
committer
Alex Deucher
<alexdeucher@gmail.com>
Mon, 17 Aug 2009 22:16:38 +0000
(18:16 -0400)
src/mesa/drivers/dri/r600/r700_render.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r600/r700_render.c
b/src/mesa/drivers/dri/r600/r700_render.c
index 9e2971a34366bdd1aafb36d6253c370aaee9ae9e..6985bd4ffabcfe72460d179f87730ca325e5cd01 100644
(file)
--- 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();