Add an option to enable/disable fake markers.

This commit is contained in:
Michael Vance
2017-04-20 13:14:39 +01:00
committed by baldurk
parent 143d35ff31
commit 3c178e2124
5 changed files with 240 additions and 267 deletions
+3
View File
@@ -307,6 +307,9 @@ namespace renderdocui.Code
// pass number
private FetchDrawcall[] FakeProfileMarkers(FetchDrawcall[] draws)
{
if (Config.EventBrowser_AddFake == false)
return draws;
if (ContainsMarker(draws))
return draws;