diff options
author | Brian <[email protected]> | 2007-08-23 18:54:51 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-23 18:54:51 -0600 |
commit | 30236573dadd83714220b72b0c04f1bbce69fbd6 (patch) | |
tree | 314202b9de409ee4fb6b6108a801181b292cbae3 /src/mesa/pipe/draw/draw_offset.c | |
parent | c998ce1df09f2d9dc834ebdf9484673d8084db34 (diff) |
Need to copy header->edgeflags to tmp when creating new prim_header.
Edge flags were random/undefined otherwise.
Diffstat (limited to 'src/mesa/pipe/draw/draw_offset.c')
-rw-r--r-- | src/mesa/pipe/draw/draw_offset.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_offset.c b/src/mesa/pipe/draw/draw_offset.c index 83c9b163eb1..4f653e8c542 100644 --- a/src/mesa/pipe/draw/draw_offset.c +++ b/src/mesa/pipe/draw/draw_offset.c @@ -115,6 +115,7 @@ static void offset_tri( struct draw_stage *stage, struct prim_header tmp; tmp.det = header->det; + tmp.edgeflags = header->edgeflags; tmp.v[0] = dup_vert(stage, header->v[0], 0); tmp.v[1] = dup_vert(stage, header->v[1], 1); tmp.v[2] = dup_vert(stage, header->v[2], 2); |