mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12:00
Clean up invalidated resources
This commit is contained in:
parent
4b0b65c0c5
commit
ee0eb70de4
1 changed files with 7 additions and 0 deletions
|
@ -1085,6 +1085,13 @@ void GLGSRender::flip(int buffer)
|
|||
}
|
||||
|
||||
m_frame->flip(m_context);
|
||||
|
||||
for (auto &tex : m_rtts.invalidated_resources)
|
||||
{
|
||||
tex->remove();
|
||||
}
|
||||
|
||||
m_rtts.invalidated_resources.clear();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue