Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-03-27 21:12:59 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-03-27 21:12:59 +0400
commit9c8f1e2ef487483bc374feaed9ff709e07638623 (patch)
tree1157b72533f1b2c2e2082d91562bd9a2da4290fb /source/blender/imbuf/intern/tiff.c
parent4237c0393a9d1f089f01dd7c4b223b1f61b15023 (diff)
imbuf, mathutils & readfile: floats were being implicitly promoted to doubles, adjust to use floats.
Diffstat (limited to 'source/blender/imbuf/intern/tiff.c')
-rw-r--r--source/blender/imbuf/intern/tiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/tiff.c b/source/blender/imbuf/intern/tiff.c
index 0c04887e606..155696fb199 100644
--- a/source/blender/imbuf/intern/tiff.c
+++ b/source/blender/imbuf/intern/tiff.c
@@ -336,7 +336,7 @@ static void scanline_contig_32bit(float *rectf, float *fbuf, int scanline_w, int
rectf[i*4 + 0] = fbuf[i*spp + 0];
rectf[i*4 + 1] = fbuf[i*spp + 1];
rectf[i*4 + 2] = fbuf[i*spp + 2];
- rectf[i*4 + 3] = (spp==4)?fbuf[i*spp + 3]:1.0;
+ rectf[i*4 + 3] = (spp==4)?fbuf[i*spp + 3]:1.0f;
}
}