diff options
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index 4b048ef2ac..4d1d795938 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -1722,6 +1722,8 @@ RcTcacheEntry TextureCacheBase::CreateTextureEntry( for (const auto& mip_level : texture_info.GetMipMapLevels()) { + if (no_mips) + break; if (!mip_level.IsDataValid()) { ERROR_LOG_FMT(VIDEO, "Trying to use an invalid mipmap address {:#010x}", |
