mesa: Ensure that Paused is reset to false on EndTransformFeedback.
authorPaul Berry <stereotype441@gmail.com>
Wed, 21 Dec 2011 19:02:50 +0000 (11:02 -0800)
committerPaul Berry <stereotype441@gmail.com>
Fri, 23 Dec 2011 17:43:18 +0000 (09:43 -0800)
commit08ce48733d9441e1daa779027dbea1ce9964cc77
treea94a4c6e7db753d3b8f85cc783fc9486cbad6609
parenta3a4d01e415404e1bab76d440466952f4ab6171b
mesa: Ensure that Paused is reset to false on EndTransformFeedback.

If a client calls BeginTransformFeedback(), then
PauseTransformFeedback(), then EndTransformFeedback(), we need to make
sure that the transform feedback object is not left in a "paused"
state, otherwise the next call to BeginTransformFeedback() will leave
transform feedback paused.

Reviewed-by: Brian Paul <brianp@vmare.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/transformfeedback.c