Merge pull request #12062 from iwubcode/custom_textures_debug

VideoCommon: add startup message to know if custom textures are installed
This commit is contained in:
Admiral H. Curtiss 2023-07-23 03:45:22 +02:00 committed by GitHub
commit e3ef3cb752
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -147,6 +147,17 @@ void HiresTexture::Update()
texture_directory);
}
}
if (g_ActiveConfig.bCacheHiresTextures)
{
OSD::AddMessage(fmt::format("Loading '{}' custom textures", s_hires_texture_cache.size()),
10000);
}
else
{
OSD::AddMessage(
fmt::format("Found '{}' custom textures", s_hires_texture_id_to_arbmipmap.size()), 10000);
}
}
void HiresTexture::Clear()