From 39c5d55f0394361e1fcf291aabe8026fed78608a Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Thu, 2 Feb 2023 15:41:24 -0800 Subject: [PATCH] VertexLoaderBase: Fix shadowing warning --- Source/Core/VideoCommon/VertexLoaderBase.cpp | 4 ++-- 1 file 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(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.