Developing...

This commit is contained in:
Oleg Korshul
2022-01-04 19:07:37 +03:00
parent 18c41a4846
commit c75e65eb4c
2 changed files with 26 additions and 1 deletions

View File

@ -693,7 +693,7 @@ namespace agg
else if (m_oGradientInfo.shading.shading_type == NSStructures::ShadingInfo::Parametric)
{
float t = calculate_param(x, y);
if (isnan(t))
if (std::isnan(t))
{
*span++ = {0, 0, 0, 0};
}