Fix broken line clipping.
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 18 Oct 2006 18:02:05 +0000 (18:02 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 18 Oct 2006 18:02:05 +0000 (18:02 +0000)
commita1a0a29a5ad93be00989881055931e78941304a5
tree7fc187bf8d65f8c8f29c7754c9e30c111c64f497
parentff893a83f1a764ad4b093582bf28ff5e42860049
Fix broken line clipping.
When both ends of the line were clipped, we were using the new v0 instead
of the original v0 when computing the location of the second vertex. Thus,
the second vertex's position was incorrect.
Thanks to Heath Feather for finding a test case.
src/mesa/tnl/t_vb_cliptmp.h