mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12: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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue