rsx/overlays: Work around some commitee grandstanding shenanigans

ffs: https://bugs.launchpad.net/ubuntu/+source/gcc-8/+bug/1831385
This commit is contained in:
kd-11 2023-02-03 03:59:31 +03:00 committed by kd-11
parent f007188fa0
commit ec33891f6f

View File

@ -45,8 +45,8 @@ namespace rsx
// The final scaling and translation can then be done with fmad
const auto angle = degrees_to_radians * ((i * 90) / (num_patch_points - 1));
result[i + 1].vec2(
std::fmaf(std::cosf(angle), scale[0], offset[0]),
std::fmaf(std::sinf(angle), scale[1], offset[1])
std::fmaf(std::cos(angle), scale[0], offset[0]),
std::fmaf(std::sin(angle), scale[1], offset[1])
);
}