OSDN Git Service

mesa: Ignore fixed-index primitive restart in ArrayElement().
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 29 May 2013 15:29:26 +0000 (08:29 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 29 May 2013 21:22:14 +0000 (14:22 -0700)
commit51c0ffacb24d1b4e48f8f53dc8e191b64fbd679a
tree3560712941b0b72f99076c8edfed2cf8ce12a718
parenta41478e3f60d0d4c16cc22170866e561fd216834
mesa: Ignore fixed-index primitive restart in ArrayElement().

GL_PRIMITIVE_RESTART_FIXED_INDEX is only supposed to apply to
glDrawElements*.  This code is for legacy drawing paths and display
lists, so it shouldn't apply.

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/api_arrayelt.c