mesa: remove unused clamp_float_to_uint() and clamp_half_to_uint()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 11 Apr 2017 12:03:00 +0000 (14:03 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 13 Apr 2017 07:58:24 +0000 (09:58 +0200)
commitdf2dba558c921f38a1225e043d9987f7de91a07b
tree653061f12d72199a99cdcb2227803578d7911c9d
parentbdb53e240ba70b24263bd1e5fb7d24c12b804016
mesa: remove unused clamp_float_to_uint() and clamp_half_to_uint()

Fixes the following Clang warnings.

main/pack.c:470:1: warning: unused function 'clamp_float_to_uint' [-Wunused-function]
clamp_float_to_uint(GLfloat f)
^
main/pack.c:477:1: warning: unused function 'clamp_half_to_uint' [-Wunused-function]
clamp_half_to_uint(GLhalfARB h)
^
2 warnings generated.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/pack.c