summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2022-10-05 22:58:10 -0700
committerPokechu22 <Pokechu022@gmail.com>2022-10-06 11:25:36 -0700
commite8221d79482249b3ca6a2584e84e7d1ec7bb9061 (patch)
tree48b318c82473c2692995c0ea8df68a3debba72b8 /Source/Core/VideoCommon
parent7498eb1e6c4361040806965c63a7a6e06b3ec6bd (diff)
Common/PointerWrap: Remove DoPOD
This was added in 385d8e2b15c8accce3b4e4b4f3dc90f63e3fbee4, but became somewhat redundant with Do in 4c7bbd96e435a7516b05d3e8c791ab41505e2e0f, and completely redundant now that std::is_trivially_copyable_v is well-supported.
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/CommandProcessor.cpp6
-rw-r--r--Source/Core/VideoCommon/PixelEngine.cpp2
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/CommandProcessor.cpp b/Source/Core/VideoCommon/CommandProcessor.cpp
index f2264ecbe0..0ab1eb7aee 100644
--- a/Source/Core/VideoCommon/CommandProcessor.cpp
+++ b/Source/Core/VideoCommon/CommandProcessor.cpp
@@ -107,9 +107,9 @@ void SCPFifoStruct::DoState(PointerWrap& p)
void DoState(PointerWrap& p)
{
- p.DoPOD(m_CPStatusReg);
- p.DoPOD(m_CPCtrlReg);
- p.DoPOD(m_CPClearReg);
+ p.Do(m_CPStatusReg);
+ p.Do(m_CPCtrlReg);
+ p.Do(m_CPClearReg);
p.Do(m_bboxleft);
p.Do(m_bboxtop);
p.Do(m_bboxright);
diff --git a/Source/Core/VideoCommon/PixelEngine.cpp b/Source/Core/VideoCommon/PixelEngine.cpp
index 4c23356ebd..d2cd5ef332 100644
--- a/Source/Core/VideoCommon/PixelEngine.cpp
+++ b/Source/Core/VideoCommon/PixelEngine.cpp
@@ -169,7 +169,7 @@ void DoState(PointerWrap& p)
p.Do(m_DstAlphaConf);
p.Do(m_AlphaModeConf);
p.Do(m_AlphaRead);
- p.DoPOD(m_Control);
+ p.Do(m_Control);
p.Do(s_token);
p.Do(s_token_pending);
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp
index b17f80ba6f..7e49df8040 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.cpp
+++ b/Source/Core/VideoCommon/TextureCacheBase.cpp
@@ -440,7 +440,7 @@ void TextureCacheBase::SerializeTexture(AbstractTexture* tex, const TextureConfi
{
// If we're in measure mode, skip the actual readback to save some time.
const bool skip_readback = p.IsMeasureMode();
- p.DoPOD(config);
+ p.Do(config);
if (skip_readback || CheckReadbackTexture(config.width, config.height, config.format))
{