mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-11-16 02:59:58 +01:00
Clean up invalidated resources
This commit is contained in:
1 parent
4b0b65c0c5
commit
ee0eb70de4
1 file changed
+7
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user