mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-05 00:56:13 +00:00
texture cache base
This commit is contained in:
parent
2f9980eb92
commit
5ecbaedce0
1 changed files with 5 additions and 2 deletions
|
@ -2763,8 +2763,11 @@ TextureCacheBase::InvalidateTexture(TexAddrCache::iterator iter, bool discard_pe
|
|||
auto& mod_manager = system.GetGraphicsModManager();
|
||||
if (entry->is_efb_copy)
|
||||
{
|
||||
mod_manager.GetBackend().OnTextureUnload(GraphicsModSystem::TextureType::EFB,
|
||||
entry->texture_info_name);
|
||||
if (entry->pending_efb_copy && discard_pending_efb_copy)
|
||||
{
|
||||
mod_manager.GetBackend().OnTextureUnload(GraphicsModSystem::TextureType::EFB,
|
||||
entry->texture_info_name);
|
||||
}
|
||||
}
|
||||
else if (entry->is_xfb_copy)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue