mesa: Add a vao parameter to get_vertex_array_attrib
authorFredrik Höglund <fredrik@kde.org>
Mon, 2 Mar 2015 17:58:36 +0000 (18:58 +0100)
committerFredrik Höglund <fredrik@kde.org>
Fri, 8 May 2015 13:31:04 +0000 (15:31 +0200)
commit4f5160300dd143de8860e4e42d3dbfc7b534cfe2
treec6ea9aa7434034db12ca9476a8fed47296cb018c
parent1085c0112128e6bbb6cdc7ef3ae40e5e69499098
mesa: Add a vao parameter to get_vertex_array_attrib

This is needed to implement glGetVertexArrayIndexediv and
glGetVertexArrayIndexed64iv.

v2: Make the vao parameter const.

Reviewed-by: Laura Ekstrand <laura@jlekstrand.net>
src/mesa/main/varray.c