From: Brian Date: Thu, 23 Aug 2007 23:41:03 +0000 (-0600) Subject: fix incorrect vertex index for POLYGON drawing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eef2e35981b2e4c6f2be6fc6868672888719d4b6;p=mesa.git fix incorrect vertex index for POLYGON drawing --- 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); }