From 01d4a2e9cc3122d53525771a4e4a13b8750b1a59 Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Tue, 26 Apr 2022 21:26:42 +0200 Subject: [PATCH] TextureCacheBase: Don't log error while measuring state size. --- Source/Core/VideoCommon/TextureCacheBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;