From e5d4d9a36a78f22b354e241a3e1c8f00f96a0f0f Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 26 Mar 2017 22:09:34 +0300 Subject: [PATCH] Fixed compilation with GCC/Clang MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit src/swrenderer/line/r_walldraw.cpp:102:13: error: expected unqualified-id before ‘(’ token --- src/swrenderer/line/r_walldraw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/swrenderer/line/r_walldraw.cpp b/src/swrenderer/line/r_walldraw.cpp index 00d5d4860..bf8d856e9 100644 --- a/src/swrenderer/line/r_walldraw.cpp +++ b/src/swrenderer/line/r_walldraw.cpp @@ -99,7 +99,7 @@ namespace swrenderer v = v - floor(v); double v_step = uv_stepd / texture->GetHeight(); - if (std::isnan(v) || std::isnan(v_step)) // this should never happen, but it apparently does.. + if (isnan(v) || isnan(v_step)) // this should never happen, but it apparently does.. { uv_stepd = 0.0; v = 0.0;