diff options
Diffstat (limited to 'src/mesa/main/pack.c')
-rw-r--r-- | src/mesa/main/pack.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mesa/main/pack.c b/src/mesa/main/pack.c index 89faf515443..760c46afe74 100644 --- a/src/mesa/main/pack.c +++ b/src/mesa/main/pack.c @@ -466,21 +466,6 @@ extract_uint_indexes(GLuint n, GLuint indexes[], } -static inline GLuint -clamp_float_to_uint(GLfloat f) -{ - return f < 0.0F ? 0 : _mesa_lroundevenf(f); -} - - -static inline GLuint -clamp_half_to_uint(GLhalfARB h) -{ - GLfloat f = _mesa_half_to_float(h); - return f < 0.0F ? 0 : _mesa_lroundevenf(f); -} - - /* * Unpack a row of stencil data from a client buffer according to * the pixel unpacking parameters. |