diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-08-23 17:57:08 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-08-23 17:57:08 -0600 |
commit | 38091ef42a647b0be20e0462b065cb9d88f0784b (patch) | |
tree | e7fb4b19850b709d5aa5c58504db96113e54a58d | |
parent | eef2e35981b2e4c6f2be6fc6868672888719d4b6 (diff) |
fix an edgeflag logic error, see comments
-rw-r--r-- | src/mesa/pipe/draw/draw_prim.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_prim.c b/src/mesa/pipe/draw/draw_prim.c index 4bb81281b5..509ab376aa 100644 --- a/src/mesa/pipe/draw/draw_prim.c +++ b/src/mesa/pipe/draw/draw_prim.c @@ -429,6 +429,11 @@ static struct vertex_header *get_vertex( struct draw_context *draw, draw->vs.queue[draw->vs.queue_nr].dest = draw->vcache.vertex[slot]; draw->vs.queue[draw->vs.queue_nr].elt = i; draw->vs.queue_nr++; + + /* Need to set the vertex's edge flag here. If we're being called + * by do_ef_triangle(), that function needs edge flag info! + */ + draw->vcache.vertex[slot]->edgeflag = 1; /*XXX use user's edge flag! */ } /* Mark slot as in-use: |