diff options
author | Ian Romanick <[email protected]> | 2017-01-24 16:13:01 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2017-01-25 09:28:40 -0800 |
commit | fd43bee0ea3742abc8871d146d645db13f7d678f (patch) | |
tree | ff9333d76d8e97dfc624e08663c628654eaf64f2 /.gitattributes | |
parent | 173dd60ced6789cac2ebb6744ff99e6b14f34d5a (diff) |
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 <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions