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/BoundingBox.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/BoundingBox.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/BoundingBox.cpp | 2 |
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); |
