mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-12-28 09:23:34 +00:00
rsx/overlays: Work around some commitee grandstanding shenanigans
ffs: https://bugs.launchpad.net/ubuntu/+source/gcc-8/+bug/1831385
This commit is contained in:
parent
f007188fa0
commit
ec33891f6f
@ -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])
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user