summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/BoundingBox.cpp
diff options
context:
space:
mode:
authorDentomologist <dentomologist@gmail.com>2022-05-17 22:29:05 -0700
committerDentomologist <dentomologist@gmail.com>2022-05-25 13:06:41 -0700
commitf6b9acccfc66794cfc718355e777aa34914e881c (patch)
tree8c916273a264850351e47d19b19db5be46816803 /Source/Core/VideoCommon/BoundingBox.cpp
parent7fcc866c4118487c010116a2ea164abc867e65f4 (diff)
Common: Refactor PointerWrap
Diffstat (limited to 'Source/Core/VideoCommon/BoundingBox.cpp')
-rw-r--r--Source/Core/VideoCommon/BoundingBox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/BoundingBox.cpp b/Source/Core/VideoCommon/BoundingBox.cpp
index 33cffef469..f5ecc8478b 100644
--- a/Source/Core/VideoCommon/BoundingBox.cpp
+++ b/Source/Core/VideoCommon/BoundingBox.cpp
@@ -104,7 +104,7 @@ void BoundingBox::DoState(PointerWrap& p)
// We handle saving the backend values specially rather than using Readback() and Flush() so that
// we don't mess up the current cache state
std::vector<BBoxType> backend_values(NUM_BBOX_VALUES);
- if (p.GetMode() == PointerWrap::MODE_READ)
+ if (p.IsReadMode())
{
p.Do(backend_values);