mesa: Make _mesa_primitive_restart_index a static inline in the header.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 6 May 2017 23:11:03 +0000 (16:11 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 9 May 2017 19:07:34 +0000 (12:07 -0700)
commitd4fa0a0fa63c538b0c67ec3c46a45c1e4dcf91fc
tree5ba591497b62758fa2facd66eef5a9b6c05338ac
parentdb6f38cb6a43f315f4e2aa613eae02d5a451295c
mesa: Make _mesa_primitive_restart_index a static inline in the header.

It's now basically a single expression, so it probably makes sense to
have it inlined into the callers.

Suggested by Marek.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/varray.c
src/mesa/main/varray.h