summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexManagerBase.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/VertexManagerBase.cpp
parent7fcc866c4118487c010116a2ea164abc867e65f4 (diff)
Common: Refactor PointerWrap
Diffstat (limited to 'Source/Core/VideoCommon/VertexManagerBase.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexManagerBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp
index bb23a468ea..72f02927b5 100644
--- a/Source/Core/VideoCommon/VertexManagerBase.cpp
+++ b/Source/Core/VideoCommon/VertexManagerBase.cpp
@@ -519,7 +519,7 @@ void VertexManagerBase::Flush()
void VertexManagerBase::DoState(PointerWrap& p)
{
- if (p.GetMode() == PointerWrap::MODE_READ)
+ if (p.IsReadMode())
{
// Flush old vertex data before loading state.
Flush();