Matteo Bruni (@Mystral) commented about dlls/d3dx9_36/surface.c:
}
}
+static float d3dx_clamp(float value, float min_value, float max_value) +{
- if (isinf(value))
return !signbit(value) ? max_value : min_value;
I think this is unnecessary, `Inf` should be already handled correctly by the "normal" value condition.