mesa: Implement glBindVertexBuffers
authorFredrik Höglund <fredrik@kde.org>
Fri, 15 Nov 2013 19:01:07 +0000 (20:01 +0100)
committerFredrik Höglund <fredrik@kde.org>
Fri, 2 May 2014 01:00:41 +0000 (03:00 +0200)
commit63995b902a5288b778b303f63eb9d884a2dfbdb6
treef1aa8c4b11923fc1a87c842b5ba2946cd19acd00
parentf0c36cf4faebb98e54bdb12f0cde5357c7bcc49b
mesa: Implement glBindVertexBuffers

v2: Use the user provided offset and stride when the buffer ID is zero.

Reviewed-by: Brian Paul <brianp@vmware.com> (v1)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (v1)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v2)
src/mesa/main/varray.c