diff options
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); |
