mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Fix resourceformat check (was 'working' before because null != null)
This commit is contained in:
@@ -578,8 +578,8 @@ namespace renderdocui.Windows
|
||||
{
|
||||
FormatElement curPos = GetPosHighlightFormatElement(stages[i]);
|
||||
FormatElement curSecond = GetSecondHighlightFormatElement(stages[i]);
|
||||
if (prevPos[i] != curPos) UI_AutoFetchRenderComponents(stages[i], true);
|
||||
if (prevSecond[i] != curSecond) UI_AutoFetchRenderComponents(stages[i], false);
|
||||
if (prevPos[i] == null || prevPos[i] != curPos) UI_AutoFetchRenderComponents(stages[i], true);
|
||||
if (prevSecond[i] == null || prevSecond[i] != curSecond) UI_AutoFetchRenderComponents(stages[i], false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user