mesa: Factor out _mesa_array_element.
authorMathias Fröhlich <mathias.froehlich@web.de>
Fri, 1 Mar 2019 08:27:53 +0000 (09:27 +0100)
committerMathias Fröhlich <mathias.froehlich@web.de>
Fri, 15 Mar 2019 05:06:42 +0000 (06:06 +0100)
commit80e319485a5ba653856c107e7c84ee60d28251b1
tree7f5eb3c7ae56536a877f0e2ecbd951d51f357432
parent85fd380878619ee03453b4e85ebf5b4e9648b496
mesa: Factor out _mesa_array_element.

The factored out function handles emitting the vertex attributes
at the given index. The now public accessible function gets used
in the following patches.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/mesa/main/api_arrayelt.c
src/mesa/main/api_arrayelt.h