rsx: End the current frame before performing cache cleanup to release in-flight data

This commit is contained in:
kd-11 2022-02-10 22:01:40 +03:00 committed by kd-11
parent f667b52cca
commit ec3e8de780
1 changed files with 4 additions and 0 deletions

View File

@ -1015,6 +1015,10 @@ namespace rsx
void clear()
{
// Release objects used for frame data
on_frame_end();
// Nuke the permanent storage pool
m_storage.clear();
m_predictor.clear();
}