tnl: Use gl_array_attribute::_ElementSize.
authorMathias Fröhlich <mathias.froehlich@web.de>
Sat, 17 Nov 2018 06:13:11 +0000 (07:13 +0100)
committerMathias Fröhlich <mathias.froehlich@web.de>
Wed, 21 Nov 2018 05:27:19 +0000 (06:27 +0100)
commit2da7b0a2fbf0dbc5e89f19622cf3bbfa346ed0f1
tree2225f6d03bafd883349665e4935b8a8a0ea4fdb5
parenta4c01839c27a683901ef22e23e02e5849520222b
tnl: Use gl_array_attribute::_ElementSize.

Instead of open coding the size computation, use the
already available gl_array_attribute::_ElementSize value.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/mesa/tnl/t_split_copy.c