diff options
| author | Tilka <tilkax@gmail.com> | 2022-05-29 00:57:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-29 00:57:43 +0100 |
| commit | e17a4f49f5bb2fd3ca4322db82c100206e00cc15 (patch) | |
| tree | 3c71b494b3f9b9a5db726b80caf6f0f6944d34db /Source/Core/VideoCommon/VertexManagerBase.cpp | |
| parent | 3dbc18060bc6f15eeaa3c0e4de907f8a06efa2bf (diff) | |
| parent | c8e20c569b7deae97b411a6eea5c846f342bbf17 (diff) | |
Merge pull request #10668 from Dentomologist/convert_pointerwrap_mode_to_enum_class
Convert PointerWrap::Mode to enum class
Diffstat (limited to 'Source/Core/VideoCommon/VertexManagerBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexManagerBase.cpp | 2 |
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(); |
