diff options
author | Brian Paul <[email protected]> | 2013-03-28 17:17:26 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-03-28 17:17:26 -0600 |
commit | e90c56bc4eb6d6f33861eb1b89ee9127e361e407 (patch) | |
tree | 51fcf26d19a2e590886b14a0fcda424abde4692e /src/gallium/drivers/llvmpipe/lp_setup_tri.c | |
parent | 499aa3ddb448a7461c0bdea93c8f218db6992720 (diff) |
llvmpipe: add 'f' suffix to 1.0 in fixed_to_float()
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup_tri.c')
-rw-r--r-- | 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 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); } |