From: Brian Paul Date: Thu, 28 Mar 2013 23:17:26 +0000 (-0600) Subject: llvmpipe: add 'f' suffix to 1.0 in fixed_to_float() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e90c56bc4eb6d6f33861eb1b89ee9127e361e407;p=mesa.git llvmpipe: add 'f' suffix to 1.0 in fixed_to_float() --- diff --git a/src/gallium/drivers/llvmpipe/lp_setup_tri.c b/src/gallium/drivers/llvmpipe/lp_setup_tri.c index 97a76d85c59..45ac6a79ada 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup_tri.c +++ b/src/gallium/drivers/llvmpipe/lp_setup_tri.c @@ -54,7 +54,7 @@ subpixel_snap(float a) static INLINE float fixed_to_float(int a) { - return a * (1.0 / FIXED_ONE); + return a * (1.0f / FIXED_ONE); }