draw: Fix the edge flags of flatshade_first polygons.
authorChia-I Wu <olv@lunarg.com>
Wed, 4 Aug 2010 06:00:04 +0000 (14:00 +0800)
committerChia-I Wu <olv@lunarg.com>
Wed, 4 Aug 2010 06:03:05 +0000 (14:03 +0800)
commit5c2f01bbb076af8b8ae6e1803d95a9ae678c2d1c
tree164ac47cf4cea8281869c6f7592db4ba7d2fbc01
parent09c8fa570e69272f65cb49840ec7c709820b1b2a
draw: Fix the edge flags of flatshade_first polygons.

This bug can be triggered by rendering polygons with

   glProvokingVertexEXT(GL_FIRST_VERTEX_CONVENTION_EXT);
   glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
src/gallium/auxiliary/draw/draw_pt_vcache_tmp.h