summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorTellowKrinkle <tellowkrinkle@gmail.com>2026-03-21 00:35:06 -0500
committerTellowKrinkle <tellowkrinkle@gmail.com>2026-03-21 00:35:06 -0500
commit56845b2b934bf66fdef6fca015e341a1f7b3b53e (patch)
tree8c0108e96db22aff538d215cfc965756478d4c03 /Source/Core/VideoCommon/TextureCacheBase.cpp
parent12935d5b2563e0443210737855f958323575afe5 (diff)
VideoCommon: Fix no mips hack
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.cpp2
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}",