Replace _mesa_parameter_longest_name() with _mesa_longest_parameter_name().
authorBrian <brian@yutani.localnet.net>
Wed, 18 Apr 2007 20:19:17 +0000 (14:19 -0600)
committerBrian <brian@yutani.localnet.net>
Wed, 18 Apr 2007 20:19:17 +0000 (14:19 -0600)
commit6d3d9c1c6de33646b63d47892863939ee1b1e624
tree72a4057938f1aaa7b2d2e0659d3ef14e018a16be
parente57e752eeef1611cbc8bf9e0aca8c2467267f027
Replace _mesa_parameter_longest_name() with _mesa_longest_parameter_name().

The later takes a type parameter so we can match uniforms or attributes/inputs.
Used by the GL_ACTIVE_ATTRIBUTE_MAX_LENGTH and GL_ACTIVE_UNIFORM_MAX_LENGTH
queries.  Fixes problem reported by Brad King in VTK.
src/mesa/shader/prog_parameter.c
src/mesa/shader/prog_parameter.h
src/mesa/shader/shader_api.c