From 34d741a3fc96c9424ffec29b114a1bdfde40f8b0 Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 22 Oct 2012 08:28:32 +0200 Subject: libX11 mesa pixman git update 22 oct 2012 libX11: f2a8def423a46d52e834cf7ea49fa0079427663a mesa: 259fc154f1fdcabbc0a6c02c524962b063f9dee6 pixman: 31e5a0a393defb8e0534ab1bde29ab23fc04795d --- mesalib/src/gallium/auxiliary/util/u_format_r11g11b10f.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesalib/src/gallium/auxiliary/util/u_format_r11g11b10f.h') diff --git a/mesalib/src/gallium/auxiliary/util/u_format_r11g11b10f.h b/mesalib/src/gallium/auxiliary/util/u_format_r11g11b10f.h index bd64b2896..b883b318e 100644 --- a/mesalib/src/gallium/auxiliary/util/u_format_r11g11b10f.h +++ b/mesalib/src/gallium/auxiliary/util/u_format_r11g11b10f.h @@ -205,7 +205,7 @@ static INLINE float uf10_to_f32(uint16_t val) float scale, decimal; exponent -= 15; if (exponent < 0) { - scale = 1.0 / (1 << -exponent); + scale = 1.0f / (1 << -exponent); } else { scale = (float) (1 << exponent); -- cgit v1.2.3