Fix compilation error in Cycles

Was caused by recent fix with finite checks.

Fixes T51536.
This commit is contained in:
Sergey Sharybin 2017-05-17 17:23:32 +02:00
parent 1d49205b1a
commit 9a910443c4

@ -30,6 +30,16 @@
CCL_NAMESPACE_BEGIN
/* Some helpers to silence warning in templated function. */
static bool isfinite(uchar /*value*/)
{
return false;
}
static bool isfinite(half /*value*/)
{
return false;
}
ImageManager::ImageManager(const DeviceInfo& info)
{
need_update = true;