mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 06:05:45 +00:00
Add an option to enable/disable fake markers.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user