summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-06-10 14:45:34 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2008-06-10 14:48:57 +0100
commit14a13e3767f080a48a4ae01f803dd0bc8754f441 (patch)
treefa0109cc836f4842d302cf4fd5e7b497fc327d2d
parentac833b9aeff1957769c271dd6d390b6b28d59e4c (diff)
draw: fix edgeflags on clipped poly emit
-rw-r--r--src/gallium/auxiliary/draw/draw_pipe_clip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe_clip.c b/src/gallium/auxiliary/draw/draw_pipe_clip.c
index c11ed934a4..77ccddac4a 100644
--- a/src/gallium/auxiliary/draw/draw_pipe_clip.c
+++ b/src/gallium/auxiliary/draw/draw_pipe_clip.c
@@ -171,7 +171,7 @@ static void emit_poly( struct draw_stage *stage,
header.flags = DRAW_PIPE_RESET_STIPPLE | edge_first | edge_middle;
header.pad = 0;
- for (i = 2; i < n; i++, header.flags = 0) {
+ for (i = 2; i < n; i++, header.flags = edge_middle) {
header.v[0] = inlist[i-1];
header.v[1] = inlist[i];
header.v[2] = inlist[0]; /* keep in v[2] for flatshading */