mesa: Add missing error check for first < 0 in glDrawArraysInstanced().
authorEric Anholt <eric@anholt.net>
Tue, 28 Feb 2012 21:33:53 +0000 (13:33 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 29 Feb 2012 21:21:12 +0000 (13:21 -0800)
commit767ba60831657a684e3852c398a0d13d1201158f
treec5f578dea4e289ecbfe221463ad50f5b4e7917bb
parent871518dbf8266fe91d09e3368fe2bc90603cd3b1
mesa: Add missing error check for first < 0 in glDrawArraysInstanced().

Fixes piglit GL_ARB_draw_instanced/negative-arrays-first-negative.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/api_validate.c