llvmpipe: add 'f' suffix to 1.0 in fixed_to_float()

This commit is contained in:
Brian Paul 2013-03-28 17:17:26 -06:00
parent 499aa3ddb4
commit e90c56bc4e

View file

@ -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);
}