diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2022-09-28 01:31:42 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2022-09-28 01:36:00 +0300 |
commit | fb4d76469b403da6a0d99d3d5905a4dc47573bce (patch) | |
tree | 73cc65123b846bc26342ecb3d4411f8ce944a7ca /profiler | |
parent | c7ec2a9e0e2819bfd9dce064c50f1b97c5c28c09 (diff) |
Activity tracking global variable.
Diffstat (limited to 'profiler')
-rw-r--r-- | profiler/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index b39da8ae..ff422039 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -271,7 +271,7 @@ static void DrawContents() bptr->NewFrame( display_w, display_h ); static int activeFrames = 3; - if( view && view->WasActive() ) + if( tracy::WasActive() || ( view && view->WasActive() ) ) { activeFrames = 3; } |