summaryrefslogtreecommitdiff
path: root/Source/UnitTests/VideoCommon
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2021-06-10 03:38:24 -0400
committerGitHub <noreply@github.com>2021-06-10 03:38:24 -0400
commita51d01bb809bddaa2c221b0e9a6d0b935a285bce (patch)
treea8ebb37fd0c90eb6adc89b27fc3f82dc694ee26e /Source/UnitTests/VideoCommon
parente62610e6bc4f33234d8d5a7759ed5911bd25b8cb (diff)
parent1500a0119bbb9086b0482a94b154612a0684f194 (diff)
Merge pull request #9532 from Pokechu22/debug-cube-hack
Hackfix for debug cubes
Diffstat (limited to 'Source/UnitTests/VideoCommon')
-rw-r--r--Source/UnitTests/VideoCommon/VertexLoaderTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp b/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp
index 925a13114a..93656a9d23 100644
--- a/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp
+++ b/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp
@@ -29,7 +29,8 @@ TEST(VertexLoaderUID, UniqueEnough)
memset(&vat, 0, sizeof(vat));
uids.insert(VertexLoaderUID(vtx_desc, vat));
- vtx_desc.SetLegacyHex(0xFEDCBA9876543210ull);
+ vtx_desc.low.Hex = 0x76543210;
+ vtx_desc.high.Hex = 0xFEDCBA98;
EXPECT_EQ(uids.end(), uids.find(VertexLoaderUID(vtx_desc, vat)));
uids.insert(VertexLoaderUID(vtx_desc, vat));