glsl: fix glUniform() array bounds error checking
authorBrian Paul <brianp@vmware.com>
Wed, 11 Feb 2009 15:46:21 +0000 (08:46 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 11 Feb 2009 16:17:21 +0000 (09:17 -0700)
commit2c1ea0720deb9b1f90fc294a7a731270d4f4bad6
tree7bc3e681dae1632abf716f91b28f2240dffd83cf
parent369d1859d7bc4a6213f128718f8affc8e4f06006
glsl: fix glUniform() array bounds error checking

If too many array elements are specified, they're to be silently ignored (don't
raise a GL error).

Fixes another issue in bug 20056.
src/mesa/shader/shader_api.c