diff options
author | Brian Paul <[email protected]> | 2014-02-03 11:33:03 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-02-03 12:50:04 -0700 |
commit | fc3fcd1e01093e8ab8d06d95c53f875ace57ca7f (patch) | |
tree | 7a97d7848969029d20605d22521837f8da01c9b8 /src/gallium/include/state_tracker/graw.h | |
parent | 349b76a55364c0bb33daa4e1ebe36dd689e35807 (diff) |
draw: fix incorrect color of flat-shaded clipped lines
When we clipped a line weren't copying the provoking vertex
color to the second vertex. We also weren't checking for
first vs. last provoking vertex.
Fixes failures found with the new piglit line-flat-clip-color test.
Cc: "10.0, 10.1" <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/include/state_tracker/graw.h')
0 files changed, 0 insertions, 0 deletions