Module: Mesa Branch: master Commit: e90c56bc4eb6d6f33861eb1b89ee9127e361e407 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e90c56bc4eb6d6f33861eb1b89ee9127e361e407
Author: Brian Paul <[email protected]> Date: Thu Mar 28 17:17:26 2013 -0600 llvmpipe: add 'f' suffix to 1.0 in fixed_to_float() --- src/gallium/drivers/llvmpipe/lp_setup_tri.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_setup_tri.c b/src/gallium/drivers/llvmpipe/lp_setup_tri.c index 97a76d8..45ac6a7 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); } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
