Use std::isfinite from the cmath header

This commit is contained in:
Chris Robinson 2018-11-15 06:48:52 -08:00
parent a3b644374b
commit dc622b3182

View File

@ -3812,7 +3812,7 @@ ALC_API ALCcontext* ALC_APIENTRY alcCreateContext(ALCdevice *device, const ALCin
if(ConfigValueFloat(device->DeviceName, nullptr, "volume-adjust", &valf))
{
if(!isfinite(valf))
if(!std::isfinite(valf))
ERR("volume-adjust must be finite: %f\n", valf);
else
{