st/mesa: DrawTFB should use the vertex count from the last call of EndTFB
authorMarek Olšák <maraeo@gmail.com>
Sat, 17 Dec 2011 13:41:43 +0000 (14:41 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sun, 25 Dec 2011 08:24:51 +0000 (09:24 +0100)
commit719129882929e19883b10e88d930dfe20f575ba1
tree22e203d594998543ba4091b71b6f7ad101ccdf8a
parentec4851253bbf7fd7d11c5570f19f9733a885e471
st/mesa: DrawTFB should use the vertex count from the last call of EndTFB

From ARB_transform_feedback2:
    ... the vertex count used for the rendering operation is
    set by the previous EndTransformFeedback command.
src/mesa/state_tracker/st_cb_xformfb.c