diff options
author | Brian Paul <[email protected]> | 2009-06-18 23:00:37 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-06-18 23:00:37 -0600 |
commit | 0ddc4dbe43422211e6f3fb3278e7b2f55a25976b (patch) | |
tree | a88de7d2f174134451d4ebe738f09efdc8f01fd5 /src/gallium/auxiliary/draw/draw_pt_decompose.h | |
parent | 9205a871e75f66de3501519018e76b6f49d2cce8 (diff) |
draw: use flatfirst variable
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt_decompose.h')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt_decompose.h | 2 |
1 files changed, 1 insertions, 1 deletions
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), |