mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-26 04:32:35 +01:00
vk: Clamp unreleased texture metric
- TODO: Find the leaking references
This commit is contained in:
parent
393e3b702f
commit
e7db0c7d99
@ -709,7 +709,7 @@ namespace vk
|
||||
|
||||
const u32 get_unreleased_textures_count() const override
|
||||
{
|
||||
return m_unreleased_texture_objects + m_discardable_storage.size();
|
||||
return std::max(m_unreleased_texture_objects, 0) + (u32)m_discardable_storage.size();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user