diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2022-04-26 21:26:42 +0200 |
|---|---|---|
| committer | Admiral H. Curtiss <pikachu025@gmail.com> | 2022-04-26 21:26:42 +0200 |
| commit | 01d4a2e9cc3122d53525771a4e4a13b8750b1a59 (patch) | |
| tree | 371183222e83aafeba68a2af7b13ab768d18ca9a /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | 4cd48e609c507e65b95bca5afb416b59eaf7f683 (diff) | |
TextureCacheBase: Don't log error while measuring state size.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.cpp | 2 |
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; |
