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:
authorBastien Montagne <montagne29@wanadoo.fr>2014-10-10 17:11:23 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2014-10-10 17:11:23 +0400
commit0f1c3958da3fb475feead1620ba9414b0d44aae0 (patch)
tree719dce52af956221c4a03694713acedcdef4b39c /intern/cycles/kernel/closure/bsdf_microfacet.h
parent91d2485c526b98e368d78bb132a906ac11c899a1 (diff)
Fix typo breaking compilation with rather strict flags (does not like implicit double to float conversion).
Diffstat (limited to 'intern/cycles/kernel/closure/bsdf_microfacet.h')
-rw-r--r--intern/cycles/kernel/closure/bsdf_microfacet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/closure/bsdf_microfacet.h b/intern/cycles/kernel/closure/bsdf_microfacet.h
index c48ebd0885b..8737b0e2d94 100644
--- a/intern/cycles/kernel/closure/bsdf_microfacet.h
+++ b/intern/cycles/kernel/closure/bsdf_microfacet.h
@@ -85,7 +85,7 @@ ccl_device_inline float approx_erfinvf_do(float x)
const float c1 = -1.970840454f;
const float c2 = -1.624906493f;
const float c3 = 3.429567803f;
- const float c4 = 1.641345311;
+ const float c4 = 1.641345311f;
const float d1 = 3.543889200f;
const float d2 = 1.637067800f;
const float z = sqrtf(-logf((1.0f - x) * 0.5f));