diff options
| author | TellowKrinkle <tellowkrinkle@gmail.com> | 2026-03-21 00:35:06 -0500 |
|---|---|---|
| committer | TellowKrinkle <tellowkrinkle@gmail.com> | 2026-03-21 00:35:06 -0500 |
| commit | 56845b2b934bf66fdef6fca015e341a1f7b3b53e (patch) | |
| tree | 8c0108e96db22aff538d215cfc965756478d4c03 /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | 12935d5b2563e0443210737855f958323575afe5 (diff) | |
VideoCommon: Fix no mips hack
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}", |
