mesa: glGetUniform only returns a single element of an array
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 27 Jan 2011 20:24:27 +0000 (12:24 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 1 Feb 2011 17:48:41 +0000 (09:48 -0800)
commit20d278a7ff0ce66e5c4ac437e1fbe52c31a1ecb3
tree02fa330ee33adf263a8545b56379470631eeb6ac
parent3c701f1d61b33a5ffaddd4199ac277da8e287f30
mesa: glGetUniform only returns a single element of an array

Also return it as the correct type.  Previously the whole array would
be returned and each element would be expanded to a vec4.

Fixes piglit test getuniform-01 and bugzilla #29823.
src/mesa/main/uniforms.c