forked from bartvdbraak/blender
Fix compilation error in Cycles
Was caused by recent fix with finite checks. Fixes T51536.
This commit is contained in:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user