Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2022-09-28 01:31:42 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-09-28 01:36:00 +0300
commitfb4d76469b403da6a0d99d3d5905a4dc47573bce (patch)
tree73cc65123b846bc26342ecb3d4411f8ce944a7ca /profiler
parentc7ec2a9e0e2819bfd9dce064c50f1b97c5c28c09 (diff)
Activity tracking global variable.
Diffstat (limited to 'profiler')
-rw-r--r--profiler/src/main.cpp2
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;
}