mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-08 21:53:31 +01:00
TextureCacheBase: Don't log error while measuring state size.
This commit is contained in:
parent
4cd48e609c
commit
01d4a2e9cc
@ -459,7 +459,7 @@ void TextureCacheBase::SerializeTexture(AbstractTexture* tex, const TextureConfi
|
|||||||
// needing to allocate/free an extra buffer.
|
// needing to allocate/free an extra buffer.
|
||||||
u8* texture_data = p.DoExternal(total_size);
|
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);
|
ERROR_LOG_FMT(VIDEO, "Couldn't acquire {} bytes for serializing texture.", total_size);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user