mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
VertexLoaderBase: Fix shadowing warning
This commit is contained in:
parent
95bee485c9
commit
39c5d55f03
@ -112,8 +112,8 @@ public:
|
||||
|
||||
// Some games (e.g. Donkey Kong Country Returns) have a few draws that contain NaN.
|
||||
// Since NaN != NaN, we need to compare the bits instead.
|
||||
const auto bit_equal = [](float a, float b) {
|
||||
return Common::BitCast<u32>(a) == Common::BitCast<u32>(b);
|
||||
const auto bit_equal = [](float val_a, float val_b) {
|
||||
return Common::BitCast<u32>(val_a) == Common::BitCast<u32>(val_b);
|
||||
};
|
||||
|
||||
// The last element is allowed to be garbage for SIMD overwrites.
|
||||
|
Loading…
Reference in New Issue
Block a user