draw: fix point/line/tri flushing bug in vbuf code
authorBrian Paul <brianp@vmware.com>
Fri, 22 Apr 2011 19:37:10 +0000 (13:37 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 22 Apr 2011 19:39:50 +0000 (13:39 -0600)
commit931432fea69c29b4029ff23613468c8ad2c0181e
tree828af9dc819aa4668ea106af78bbb55005eace25
parent72239d16cd08113e994ea3508f91193c682b0930
draw: fix point/line/tri flushing bug in vbuf code

Need to reset the point/line/tri functions to point to the "first"
versions whenever we flush vertices.  Fixes unfilled polygon rendering
errors seen in demos/samples/logo.c.  See comments for more info.

NOTE: This is a candidate for the 7.10 branch.
src/gallium/auxiliary/draw/draw_pipe_vbuf.c