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
Notes: blender-bot 2023-02-14 06:58:01 +01:00
Referenced by issue #51536, Master fails to compile with VS after latest master update
1 changed files with 10 additions and 0 deletions

View File

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