Fix resourceformat check (was 'working' before because null != null)

This commit is contained in:
baldurk
2015-12-20 18:50:19 +01:00
parent ca6eee8b8f
commit 7aca368cc7
+2 -2
View File
@@ -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);
}
}