diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-09-20 14:00:16 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-09-20 14:00:36 +0300 |
commit | 386da0cc77cbd16a8b5a196dd1b44e517198dbda (patch) | |
tree | 9680d9966d816c2008b4813baac4aaf98186001c /intern | |
parent | 87c08fa681f5c9f310abf928b7032992ac2a20b4 (diff) |
Cycles: Avoid conversion from bool to uint
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/kernel/bvh/qbvh_volume_all.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/bvh/qbvh_volume_all.h b/intern/cycles/kernel/bvh/qbvh_volume_all.h index 26da0145020..5d9b2edb4ba 100644 --- a/intern/cycles/kernel/bvh/qbvh_volume_all.h +++ b/intern/cycles/kernel/bvh/qbvh_volume_all.h @@ -69,7 +69,7 @@ ccl_device uint BVH_FUNCTION_FULL_NAME(QBVH)(KernelGlobals *kg, #ifndef __KERNEL_SSE41__ if(!isfinite(P.x)) { - return false; + return 0; } #endif |