mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
- fix at least one of the GCC errors
This commit is contained in:
parent
8c176575c8
commit
a2edca6032
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue