From eef2e35981b2e4c6f2be6fc6868672888719d4b6 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 23 Aug 2007 17:41:03 -0600 Subject: fix incorrect vertex index for POLYGON drawing --- src/mesa/pipe/draw/draw_prim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/pipe/draw') diff --git a/src/mesa/pipe/draw/draw_prim.c b/src/mesa/pipe/draw/draw_prim.c index 247a86bdbf..4bb81281b5 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); } -- cgit v1.2.3