mesa: Remove unnecessary FLUSH_VERTICES in bind_buffer_range
authorPaul Berry <stereotype441@gmail.com>
Fri, 16 Dec 2011 21:55:37 +0000 (13:55 -0800)
committerPaul Berry <stereotype441@gmail.com>
Tue, 20 Dec 2011 23:22:28 +0000 (15:22 -0800)
commit291ae4e6396872679fef72ed4fdd46fb7f945c3d
tree9fe063819614aec274ed254890be9a9e4467dac0
parent7d2ff0bf0b7422c34676c2f47dbe754f57edb51e
mesa: Remove unnecessary FLUSH_VERTICES in bind_buffer_range

It isn't necessary to call FLUSH_VERTICES from bind_buffer_range,
because transform feedback buffers are not allowed to be changed when
transform feedback is active.

Thanks to Marek Olšák for pointing out this bug.

Reviewed-by: Marek Olšák <maraeo@gmail.com>
src/mesa/main/transformfeedback.c