summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderBase.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2022-08-05 21:10:17 -0700
committerPokechu22 <Pokechu022@gmail.com>2024-05-03 18:43:51 -0700
commitfbbfea8e8e536800a6a911eb90cecdd1f343f9e3 (patch)
treee591d19127ac8cea60acf1108a6273dba6111558 /Source/Core/VideoCommon/VertexLoaderBase.cpp
parent57c890d4fcec1b86d71a8a5ad9c51c548a7bd9cd (diff)
Replace Common::BitCast with std::bit_cast
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderBase.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoaderBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderBase.cpp b/Source/Core/VideoCommon/VertexLoaderBase.cpp
index 11ac3833c7..40c82145b0 100644
--- a/Source/Core/VideoCommon/VertexLoaderBase.cpp
+++ b/Source/Core/VideoCommon/VertexLoaderBase.cpp
@@ -113,7 +113,7 @@ 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 val_a, float val_b) {
- return Common::BitCast<u32>(val_a) == Common::BitCast<u32>(val_b);
+ return std::bit_cast<u32>(val_a) == std::bit_cast<u32>(val_b);
};
// The last element is allowed to be garbage for SIMD overwrites.