st/mesa: Go back to using ctx->Array.RestartIndex, not _RestartIndex.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 29 May 2013 14:57:34 +0000 (07:57 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 29 May 2013 21:22:11 +0000 (14:22 -0700)
commita41478e3f60d0d4c16cc22170866e561fd216834
treeb7b726b01972ef2178007e8d73691022aa77aee0
parent49aba27973d81e388bef49a79391d5fdef3f5f18
st/mesa: Go back to using ctx->Array.RestartIndex, not _RestartIndex.

The derived _RestartIndex field is an attempt to support both
GL_PRIMITIVE_RESTART and GL_PRIMITIVE_RESTART_FIXED_INDEX (part of ES
3.0).  Gallium drivers don't appear to support ES 3.0 yet, so they don't
need to use it.  Plus, it's broken and going to go away soon.

NOTE: This is a candidate for the 9.1 branch.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/state_tracker/st_draw.c