mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Activity tracking global variable.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user