mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-06 18:40:36 +00:00
rsx: Apply Clang-Tidy fix "performance-type-promotion-in-math-fn"
This commit is contained in:
parent
8f2647555a
commit
c9b0a4afd0
@ -650,7 +650,7 @@ namespace rsx
|
||||
continue;
|
||||
|
||||
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)
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user