mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 21:42:59 +01:00
Fixed issue #646.
This commit is contained in:
4
3rdparty/nvtt/nvmath/nvmath.h
vendored
4
3rdparty/nvtt/nvmath/nvmath.h
vendored
@@ -35,7 +35,11 @@ namespace nv
|
||||
|
||||
inline bool isFinite(const float f)
|
||||
{
|
||||
#if defined(_MSC_VER) && _MSC_VER <= 1800
|
||||
return true;
|
||||
#else
|
||||
return std::isfinite(f);
|
||||
#endif // defined(_MSC_VER) && _MSC_VER <= 1800
|
||||
}
|
||||
|
||||
// Eliminates negative zeros from a float array.
|
||||
|
||||
Reference in New Issue
Block a user