summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_flatshade.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/draw/draw_flatshade.c')
-rw-r--r--src/mesa/pipe/draw/draw_flatshade.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_flatshade.c b/src/mesa/pipe/draw/draw_flatshade.c
index d8db1f748c..5a23e10c03 100644
--- a/src/mesa/pipe/draw/draw_flatshade.c
+++ b/src/mesa/pipe/draw/draw_flatshade.c
@@ -89,6 +89,7 @@ static void flatshade_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] = header->v[2];