mesa: Split out the format code from update_array()
authorFredrik Höglund <fredrik@kde.org>
Wed, 3 Apr 2013 19:47:44 +0000 (21:47 +0200)
committerFredrik Höglund <fredrik@kde.org>
Thu, 7 Nov 2013 15:20:44 +0000 (16:20 +0100)
commitd5543213f2b8d9db823c12a2adf4cd6138e94e4d
treec45f86cd4d08909d25ea041c5d78b929616af202
parent6a650fa787d8762762712049879897d7e257001e
mesa: Split out the format code from update_array()

Split out the code for updating the array format into a new function
called update_array_format(). This function will be called by both
update_array() and the new glVertexAttrib*Format() entry points in
ARB_vertex_attrib_binding.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/varray.c