mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-03-21 17:49:58 -05:00
VideoCommon: Fix no mips hack
This commit is contained in:
parent
12935d5b25
commit
56845b2b93
|
|
@ -1722,6 +1722,8 @@ RcTcacheEntry TextureCacheBase::CreateTextureEntry(
|
||||||
|
|
||||||
for (const auto& mip_level : texture_info.GetMipMapLevels())
|
for (const auto& mip_level : texture_info.GetMipMapLevels())
|
||||||
{
|
{
|
||||||
|
if (no_mips)
|
||||||
|
break;
|
||||||
if (!mip_level.IsDataValid())
|
if (!mip_level.IsDataValid())
|
||||||
{
|
{
|
||||||
ERROR_LOG_FMT(VIDEO, "Trying to use an invalid mipmap address {:#010x}",
|
ERROR_LOG_FMT(VIDEO, "Trying to use an invalid mipmap address {:#010x}",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user