OSDN Git Service

mesa: Delete the ctx->Array._RestartIndex derived state.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 29 May 2013 15:31:54 +0000 (08:31 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 29 May 2013 21:22:17 +0000 (14:22 -0700)
commite6efb900e7a7601797b2e8263388fe72f6820e9b
tree17853884e9a7271b17ce5512923f932d04728f34
parent51c0ffacb24d1b4e48f8f53dc8e191b64fbd679a
mesa: Delete the ctx->Array._RestartIndex derived state.

It's incorrect and isn't used any longer.

v2: Actually flush vertices/flag _NEW_TRANSFORM on RestartIndex change.

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/main/attrib.c
src/mesa/main/enable.c
src/mesa/main/mtypes.h
src/mesa/main/varray.c