diff options
author | Keith Whitwell <[email protected]> | 2008-06-10 14:45:34 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-06-10 14:48:57 +0100 |
commit | 14a13e3767f080a48a4ae01f803dd0bc8754f441 (patch) | |
tree | fa0109cc836f4842d302cf4fd5e7b497fc327d2d /src/gallium | |
parent | ac833b9aeff1957769c271dd6d390b6b28d59e4c (diff) |
draw: fix edgeflags on clipped poly emit
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pipe_clip.c | 2 |
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 c11ed934a46..77ccddac4ab 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 */ |