mesa: check for no state change in Enable/DisableVertexAttribArray()
authorBrian Paul <brianp@vmware.com>
Mon, 20 Feb 2012 02:50:31 +0000 (19:50 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 20 Feb 2012 15:04:33 +0000 (08:04 -0700)
commit45453d8f69a8e7d4088c71d238228c142e3be59f
treea61e34c6ca59698af75fc2bd2d6e36ccabfc4373
parente14b3573676af291669ee6ef4a295fc61a22c8d8
mesa: check for no state change in Enable/DisableVertexAttribArray()

Avoid setting dirty state flags when enabling or disabling a vertex
attribute arrays when there's no change.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/main/varray.c