- fix at least one of the GCC errors

This commit is contained in:
raa-eruanna 2017-02-13 07:01:44 -05:00
parent 8c176575c8
commit a2edca6032
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ namespace swrenderer
v = v - floor(v);
double v_step = uv_stepd / texture->GetHeight();
if (isnan(v) || isnan(v_step)) // this should never happen, but it apparently does..
if (std::isnan(v) || std::isnan(v_step)) // this should never happen, but it apparently does..
{
uv_stepd = 0.0;
v = 0.0;