Cycles: Avoid conversion from bool to uint

This commit is contained in:
Sergey Sharybin
2016-09-20 13:00:16 +02:00
parent 87c08fa681
commit 386da0cc77

View File

@@ -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