mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 07:56:33 +00:00
Fix 32-bit compilation, _finitef is not available on x86
This commit is contained in:
@@ -39,7 +39,7 @@ namespace ShaderDebug
|
||||
{
|
||||
static float round_ne(float x)
|
||||
{
|
||||
if(!_finitef(x) || _isnanf(x))
|
||||
if(!_finite(x) || _isnan(x))
|
||||
return x;
|
||||
|
||||
float rem = remainderf(x, 1.0f);
|
||||
|
||||
Reference in New Issue
Block a user