drwa: Fix polygon edge flags.
authorChia-I Wu <olv@lunarg.com>
Mon, 16 Aug 2010 14:00:45 +0000 (22:00 +0800)
committerChia-I Wu <olv@lunarg.com>
Mon, 16 Aug 2010 14:01:57 +0000 (22:01 +0800)
Fix a copy-and-paste error introduced by
f141abdc8fdbff41e16b0ce53fa3fa8fba32a7f9.

src/gallium/auxiliary/draw/draw_decompose_tmp.h

index be3a997c3de2f909835c6f754dec32830cd1c230..a142563af97155baf6056cc8e883f5f80f35be96 100644 (file)
@@ -257,7 +257,7 @@ FUNC(FUNC_VARS)
             flags = (DRAW_PIPE_RESET_STIPPLE |
                      DRAW_PIPE_EDGE_FLAG_0);
             if (!(prim_flags & DRAW_SPLIT_BEFORE))
-               flags |= DRAW_PIPE_EDGE_FLAG_1;
+               flags |= DRAW_PIPE_EDGE_FLAG_2;
 
             edge_next = DRAW_PIPE_EDGE_FLAG_0;
             edge_finish =