diff options
| author | JosJuice <josjuice@gmail.com> | 2026-03-21 09:27:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-21 09:27:22 +0100 |
| commit | 726f5f88972c6104166c95cb6312f17168555f94 (patch) | |
| tree | 8c0108e96db22aff538d215cfc965756478d4c03 /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | 12935d5b2563e0443210737855f958323575afe5 (diff) | |
| parent | 56845b2b934bf66fdef6fca015e341a1f7b3b53e (diff) | |
Merge pull request #14494 from TellowKrinkle/NoMipsFix
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}", |
