fix incorrect vertex index for POLYGON drawing
authorBrian <brian.paul@tungstengraphics.com>
Thu, 23 Aug 2007 23:41:03 +0000 (17:41 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 23 Aug 2007 23:41:03 +0000 (17:41 -0600)
src/mesa/pipe/draw/draw_prim.c

index 247a86b..4bb8128 100644 (file)
@@ -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);
         }