mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-21 00:39:53 +00:00
Clean up invalidated resources
This commit is contained in:
parent
4b0b65c0c5
commit
ee0eb70de4
@ -1085,6 +1085,13 @@ void GLGSRender::flip(int buffer)
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_frame->flip(m_context);
|
m_frame->flip(m_context);
|
||||||
|
|
||||||
|
for (auto &tex : m_rtts.invalidated_resources)
|
||||||
|
{
|
||||||
|
tex->remove();
|
||||||
|
}
|
||||||
|
|
||||||
|
m_rtts.invalidated_resources.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user