Fix compilation error in Cycles
Was caused by recent fix with finite checks. Fixes T51536.
This commit is contained in:
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
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue