mesa: split _mesa_primitive_restart_index into a function without gl_context
authorMarek Olšák <marek.olsak@amd.com>
Sat, 21 Mar 2020 03:58:33 +0000 (23:58 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 6 Apr 2020 14:29:38 +0000 (10:29 -0400)
commite69e59778c53c7176519c63fb961952e4596dfa0
treed6cabd04739583e257e33ee9c5df9ec1dd408276
parente6bc1702f484be1ecb592295c4877281075798be
mesa: split _mesa_primitive_restart_index into a function without gl_context

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4466>
src/mesa/main/varray.h