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 247a86bdbf48127a2879f1bc2a96edf97a33ad0a..4bb81281b58cd9acb77209896d935da1bc547a43 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);
         }