Add an option to enable/disable fake markers.

This commit is contained in:
Michael Vance authored and baldurk committed 2017-04-20 13:14:39 +01:00
1 parent 143d35ff31
commit 3c178e2124
5 files changed
+240 -267

No files matched your search

+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;