From: Brian Paul Date: Fri, 19 Jun 2009 05:00:37 +0000 (-0600) Subject: draw: use flatfirst variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ddc4dbe43422211e6f3fb3278e7b2f55a25976b;p=mesa.git draw: use flatfirst variable --- diff --git a/src/gallium/auxiliary/draw/draw_pt_decompose.h b/src/gallium/auxiliary/draw/draw_pt_decompose.h index 8e1d60e9ce3..4ca5b520204 100644 --- a/src/gallium/auxiliary/draw/draw_pt_decompose.h +++ b/src/gallium/auxiliary/draw/draw_pt_decompose.h @@ -47,7 +47,7 @@ static void FUNC( ARGS, case PIPE_PRIM_TRIANGLES: for (i = 0; i+2 < count; i += 3) { - if (draw->rasterizer->flatshade_first) { + if (flatfirst) { /* put provoking vertex in last pos for clipper */ TRIANGLE( DRAW_PIPE_RESET_STIPPLE | DRAW_PIPE_EDGE_FLAG_ALL, (i + 1),