diff options
Diffstat (limited to 'Source/Core/VideoCommon/TextureInfo.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureInfo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/TextureInfo.cpp b/Source/Core/VideoCommon/TextureInfo.cpp index 6959b95534..696f5b904c 100644 --- a/Source/Core/VideoCommon/TextureInfo.cpp +++ b/Source/Core/VideoCommon/TextureInfo.cpp @@ -9,7 +9,6 @@ #include "Common/Align.h" #include "Core/HW/Memmap.h" #include "VideoCommon/BPMemory.h" -#include "VideoCommon/SamplerCommon.h" #include "VideoCommon/TextureDecoder.h" TextureInfo TextureInfo::FromStage(u32 stage) @@ -28,7 +27,7 @@ TextureInfo TextureInfo::FromStage(u32 stage) const u8* tlut_ptr = &texMem[tlutaddr]; std::optional<u32> mip_count; - const bool has_mipmaps = SamplerCommon::AreBpTexMode0MipmapsEnabled(tex.texMode0); + const bool has_mipmaps = tex.texMode0.mipmap_filter != MipMode::None; if (has_mipmaps) { mip_count = (tex.texMode1.max_lod + 0xf) / 0x10; |
