mesa: Fix copy-and-paste bug in _mesa_(Program|)Uniform[1234](i|ui)64vARB functions
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 25 Jan 2017 00:13:01 +0000 (16:13 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 25 Jan 2017 17:28:40 +0000 (09:28 -0800)
commitfd43bee0ea3742abc8871d146d645db13f7d678f
treeff9333d76d8e97dfc624e08663c628654eaf64f2
parent173dd60ced6789cac2ebb6744ff99e6b14f34d5a
mesa: Fix copy-and-paste bug in _mesa_(Program|)Uniform[1234](i|ui)64vARB functions

All of the functions were passing 1 to _mesa_uniform instead of passing
count.

Fixes 16 unsed parameter warnings like:

main/uniforms.c: In function ‘_mesa_Uniform1i64vARB’:
main/uniforms.c:1692:47: warning: unused parameter ‘count’ [-Wunused-parameter]
 _mesa_Uniform1i64vARB(GLint location, GLsizei count, const GLint64 *value)
                                               ^~~~~

This is why I build with extra warnings enabled.  Unfortunately, there
are so many unused parameter warnings in Mesa that I didn't notice these
added warnings for over 6 months. :(

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/main/uniforms.c