diff options
author | marha <marha@users.sourceforge.net> | 2012-10-22 08:28:32 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-10-22 08:28:32 +0200 |
commit | 34d741a3fc96c9424ffec29b114a1bdfde40f8b0 (patch) | |
tree | d879a3545ce91989c4fa621001eb7a44b2244cec /mesalib/src/gallium/auxiliary/util/u_format_r11g11b10f.h | |
parent | ded57b5a4131a213d57f5a20d50b819b7a8924df (diff) | |
download | vcxsrv-34d741a3fc96c9424ffec29b114a1bdfde40f8b0.tar.gz vcxsrv-34d741a3fc96c9424ffec29b114a1bdfde40f8b0.tar.bz2 vcxsrv-34d741a3fc96c9424ffec29b114a1bdfde40f8b0.zip |
libX11 mesa pixman git update 22 oct 2012
libX11: f2a8def423a46d52e834cf7ea49fa0079427663a
mesa: 259fc154f1fdcabbc0a6c02c524962b063f9dee6
pixman: 31e5a0a393defb8e0534ab1bde29ab23fc04795d
Diffstat (limited to 'mesalib/src/gallium/auxiliary/util/u_format_r11g11b10f.h')
-rw-r--r-- | mesalib/src/gallium/auxiliary/util/u_format_r11g11b10f.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |