diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_gs_tmp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_gs_tmp.h b/src/gallium/auxiliary/draw/draw_gs_tmp.h index 92b6fb75ea1..b10bbc413d9 100644 --- a/src/gallium/auxiliary/draw/draw_gs_tmp.h +++ b/src/gallium/auxiliary/draw/draw_gs_tmp.h @@ -10,7 +10,7 @@ const unsigned prim_flags = input_prims->flags; \ const unsigned count = input_prims->count; \ const boolean quads_flatshade_last = FALSE; \ - const boolean last_vertex_last = TRUE; \ + const boolean last_vertex_last = !gs->draw->rasterizer->flatshade_first; \ do { \ debug_assert(input_prims->primitive_count == 1); \ switch (prim) { \ |