mesa: Optimize rebinding the same VBO
authorFredrik Höglund <fredrik@kde.org>
Thu, 11 Apr 2013 14:49:44 +0000 (16:49 +0200)
committerFredrik Höglund <fredrik@kde.org>
Thu, 7 Nov 2013 15:20:45 +0000 (16:20 +0100)
commit193e8b4b93d1f77d7d55d5fafd0713f0d6d95667
treea99f3b6b641c411a7fbaa5183bf6e95bd95e6a14
parent965900e8305d3a3b966c97ad37699cb73ba3e4f1
mesa: Optimize rebinding the same VBO

Check if the new buffer object has the same name as the current
buffer object before looking it up.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/varray.c