OSDN Git Service

draw: initialize prim header flags when clipping lines
authorRoland Scheidegger <sroland@vmware.com>
Thu, 7 Jan 2016 18:38:15 +0000 (19:38 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 7 Jan 2016 23:34:13 +0000 (00:34 +0100)
commit9db7309595309ff0835c701108827ffc8c906751
tree26cb7f033991d3e3673f2b2aa1d5e51189ca4888
parent64da11f05294551a248f395db168f4941f969b45
draw: initialize prim header flags when clipping lines

Otherwise, clipped lines would have undefined stippling reset bit if line
stippling is enabled.
(Untested, and I just assume copying over the bits from the original line
is actually the right thing to do.)

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_pipe_clip.c