mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 16:50:44 +00:00
ControlFlow do not add duplicate merge points on the top of the stack
This commit is contained in:
@@ -71,7 +71,9 @@ public:
|
||||
}
|
||||
void AddMergePoint(ExecutionPoint execPoint)
|
||||
{
|
||||
m_MergePoints.push_back(execPoint);
|
||||
// only add a new merge point
|
||||
if(execPoint != m_MergePoints.back())
|
||||
m_MergePoints.push_back(execPoint);
|
||||
m_StateChanged = true;
|
||||
}
|
||||
void AddFunctionReturnPoint(ExecutionPoint execPoint)
|
||||
|
||||
Reference in New Issue
Block a user