Graphics/FrameGraph: Fix infinite recursion when traversing graph
This commit is contained in:
@@ -893,10 +893,13 @@ namespace Nz
|
||||
{
|
||||
const PassList& dependencyPassList = it->second;
|
||||
for (std::size_t dependencyPass : dependencyPassList)
|
||||
{
|
||||
if (dependencyPass != passIndex)
|
||||
TraverseGraph(dependencyPass);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void FrameGraph::RemoveDuplicatePasses()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user