mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 22:11:26 +12:00
rsx: Apply Clang-Tidy fix "performance-type-promotion-in-math-fn"
This commit is contained in:
parent
8f2647555a
commit
c9b0a4afd0
1 changed files with 1 additions and 1 deletions
|
@ -650,7 +650,7 @@ namespace rsx
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
const f32 line_length = result[p.second - 1].values[0] - result[p.first].values[0];
|
const f32 line_length = result[p.second - 1].values[0] - result[p.first].values[0];
|
||||||
const bool wrapped = fabs(result[p.second - 1].values[1] - result[p.first + 3].values[1]) >= (renderer->size_px * 0.5f);
|
const bool wrapped = std::fabs(result[p.second - 1].values[1] - result[p.first + 3].values[1]) >= (renderer->size_px * 0.5f);
|
||||||
|
|
||||||
if (wrapped)
|
if (wrapped)
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue