summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-23 17:41:03 -0600
committerBrian <[email protected]>2007-08-23 17:41:03 -0600
commiteef2e35981b2e4c6f2be6fc6868672888719d4b6 (patch)
treea123c08f098b7d57a77f6a5a319d01deba17a40a
parentd6d995d20c7a5d8ce03829fe8f5edfaf7a6ea2b3 (diff)
fix incorrect vertex index for POLYGON drawing
-rw-r--r--src/mesa/pipe/draw/draw_prim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/draw/draw_prim.c b/src/mesa/pipe/draw/draw_prim.c
index 247a86bdbf4..4bb81281b58 100644
--- a/src/mesa/pipe/draw/draw_prim.c
+++ b/src/mesa/pipe/draw/draw_prim.c
@@ -669,7 +669,7 @@ draw_prim( struct draw_context *draw, unsigned start, unsigned count )
ef_mask,
start + i + 1,
start + i + 2,
- start + i + 0);
+ start + 0);
ef_mask &= ~(1<<2);
}