Mesa (master): drwa: Fix polygon edge flags.

Chia-I Wu olv at kemper.freedesktop.org
Mon Aug 16 14:02:09 UTC 2010


Module: Mesa
Branch: master
Commit: 9271059b361128070c68b3d1a7982b4f9f151546
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9271059b361128070c68b3d1a7982b4f9f151546

Author: Chia-I Wu <olv at lunarg.com>
Date:   Mon Aug 16 22:00:45 2010 +0800

drwa: Fix polygon edge flags.

Fix a copy-and-paste error introduced by
f141abdc8fdbff41e16b0ce53fa3fa8fba32a7f9.

---

 src/gallium/auxiliary/draw/draw_decompose_tmp.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/draw/draw_decompose_tmp.h b/src/gallium/auxiliary/draw/draw_decompose_tmp.h
index be3a997..a142563 100644
--- a/src/gallium/auxiliary/draw/draw_decompose_tmp.h
+++ b/src/gallium/auxiliary/draw/draw_decompose_tmp.h
@@ -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 =




More information about the mesa-commit mailing list