diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2023-02-02 15:41:24 -0800 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2023-02-09 16:23:02 -0800 |
| commit | 39c5d55f0394361e1fcf291aabe8026fed78608a (patch) | |
| tree | 43b995fcba11f8c87b7848e9905d65b0f0f377e2 /Source/Core/VideoCommon/VertexLoaderBase.cpp | |
| parent | 95bee485c97a5b3d2df5c664802d400cfd53aaba (diff) | |
VertexLoaderBase: Fix shadowing warning
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoaderBase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderBase.cpp b/Source/Core/VideoCommon/VertexLoaderBase.cpp index f04580a074..11ac3833c7 100644 --- a/Source/Core/VideoCommon/VertexLoaderBase.cpp +++ b/Source/Core/VideoCommon/VertexLoaderBase.cpp @@ -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. |
