diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-12-13 20:21:23 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-13 20:21:23 +0400 |
commit | 242217f8a308736e603d8abfec53fc3c0647bb7d (patch) | |
tree | dd38dafc258733efe64ee8c5708693e3adb9fba5 /source/blender/imbuf/intern | |
parent | 105a97a7ed5bc28f8bf2037ee9532b6daece6b7d (diff) |
Code cleanup: float<>double promotion
Diffstat (limited to 'source/blender/imbuf/intern')
-rw-r--r-- | source/blender/imbuf/intern/divers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/divers.c b/source/blender/imbuf/intern/divers.c index a3647c7b45b..e33f4d40b55 100644 --- a/source/blender/imbuf/intern/divers.c +++ b/source/blender/imbuf/intern/divers.c @@ -132,7 +132,7 @@ MINLINE float dither_random_value(float s, float t) copy_v2_fl2(st, s, t); value = sinf(dot_v2v2(st, vec)) * 43758.5453f; - return value - floor(value); + return value - floorf(value); } /************************* Generic Buffer Conversion *************************/ |