diff options
Diffstat (limited to 'src/mesa')
| -rw-r--r-- | src/mesa/pipe/draw/draw_flatshade.c | 1 | ||||
| -rw-r--r-- | src/mesa/pipe/draw/draw_offset.c | 1 | ||||
| -rw-r--r-- | src/mesa/pipe/draw/draw_twoside.c | 1 | 
3 files changed, 3 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]; diff --git a/src/mesa/pipe/draw/draw_offset.c b/src/mesa/pipe/draw/draw_offset.c index 83c9b163eb..4f653e8c54 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); diff --git a/src/mesa/pipe/draw/draw_twoside.c b/src/mesa/pipe/draw/draw_twoside.c index 4fd87786f8..5a7697d5f8 100644 --- a/src/mesa/pipe/draw/draw_twoside.c +++ b/src/mesa/pipe/draw/draw_twoside.c @@ -103,6 +103,7 @@ static void twoside_tri( struct draw_stage *stage,        struct prim_header tmp;        tmp.det = header->det; +      tmp.edgeflags = header->edgeflags;        /* copy back colors to front color slots */        tmp.v[0] = copy_bfc(twoside, header->v[0], 0);        tmp.v[1] = copy_bfc(twoside, header->v[1], 1); | 
