diff options
| author | Dentomologist <dentomologist@gmail.com> | 2022-05-17 22:29:05 -0700 |
|---|---|---|
| committer | Dentomologist <dentomologist@gmail.com> | 2022-05-25 13:06:41 -0700 |
| commit | f6b9acccfc66794cfc718355e777aa34914e881c (patch) | |
| tree | 8c916273a264850351e47d19b19db5be46816803 /Source/Core/VideoCommon/PixelShaderManager.cpp | |
| parent | 7fcc866c4118487c010116a2ea164abc867e65f4 (diff) | |
Common: Refactor PointerWrap
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PixelShaderManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderManager.cpp b/Source/Core/VideoCommon/PixelShaderManager.cpp index 675bcceca5..4e6ce9ff6f 100644 --- a/Source/Core/VideoCommon/PixelShaderManager.cpp +++ b/Source/Core/VideoCommon/PixelShaderManager.cpp @@ -542,7 +542,7 @@ void PixelShaderManager::DoState(PointerWrap& p) p.Do(constants); - if (p.GetMode() == PointerWrap::MODE_READ) + if (p.IsReadMode()) { // Fixup the current state from global GPU state // NOTE: This requires that all GPU memory has been loaded already. |
