projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eef2e35
)
fix an edgeflag logic error, see comments
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 23 Aug 2007 23:57:08 +0000
(17:57 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Thu, 23 Aug 2007 23:57:08 +0000
(17:57 -0600)
src/mesa/pipe/draw/draw_prim.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/draw/draw_prim.c
b/src/mesa/pipe/draw/draw_prim.c
index 4bb81281b58cd9acb77209896d935da1bc547a43..509ab376aa6dcff3df04e1fa60776d4ce1d2c830 100644
(file)
--- 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: