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(a) == Common::BitCast(b); + const auto bit_equal = [](float val_a, float val_b) { + return Common::BitCast(val_a) == Common::BitCast(val_b); }; // The last element is allowed to be garbage for SIMD overwrites.