mesa: Add assert to _mesa_primitive_restart_index.
authorMathias Fröhlich <mathias.froehlich@web.de>
Thu, 14 Mar 2019 04:58:43 +0000 (05:58 +0100)
committerMathias Fröhlich <mathias.froehlich@web.de>
Fri, 15 Mar 2019 05:06:42 +0000 (06:06 +0100)
commitebc15ecde5b37b6d0fa3adeffa49aae71eb8bd7e
treefa7961921bb3a14a753aba1e886ccd56d23d3358
parentd66faa54b2d7c8ad4ba6815a17d4d4e39b798c1f
mesa: Add assert to _mesa_primitive_restart_index.

Make sure the inde_size parameter is meant to be in bytes.

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