summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2022-04-27 03:50:15 +0200
committerGitHub <noreply@github.com>2022-04-27 03:50:15 +0200
commitccbdfd446d13504b9a50792a38542a5a21399bb6 (patch)
tree371183222e83aafeba68a2af7b13ab768d18ca9a /Source/Core/VideoCommon/TextureCacheBase.cpp
parent4cd48e609c507e65b95bca5afb416b59eaf7f683 (diff)
parent01d4a2e9cc3122d53525771a4e4a13b8750b1a59 (diff)
Merge pull request #10615 from AdmiralCurtiss/savestate-incorrect-error-message
TextureCacheBase: Don't log error while measuring state size.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp
index b1c9ead97a..406a7bef21 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.cpp
+++ b/Source/Core/VideoCommon/TextureCacheBase.cpp
@@ -459,7 +459,7 @@ void TextureCacheBase::SerializeTexture(AbstractTexture* tex, const TextureConfi
// needing to allocate/free an extra buffer.
u8* texture_data = p.DoExternal(total_size);
- if (p.GetMode() == PointerWrap::MODE_MEASURE)
+ if (!skip_readback && p.GetMode() == PointerWrap::MODE_MEASURE)
{
ERROR_LOG_FMT(VIDEO, "Couldn't acquire {} bytes for serializing texture.", total_size);
return;