Graphics/CullingList: Add forceInvalidation parameter

This commit is contained in:
Lynix
2018-08-25 22:41:34 +02:00
parent a3a4ed89b8
commit fd9db1b639
3 changed files with 26 additions and 3 deletions

View File

@@ -208,7 +208,7 @@ namespace Ndk
if (m_isCullingEnabled)
visibilityHash = m_drawableCulling.Cull(camComponent.GetFrustum(), &forceInvalidation);
else
visibilityHash = m_drawableCulling.FillWithAllEntries();
visibilityHash = m_drawableCulling.FillWithAllEntries(&forceInvalidation);
// Always regenerate renderqueue if particle groups are present for now (FIXME)
if (!m_lights.empty() || !m_particleGroups.empty())