steamcompmgr: Bring back stats to un-break CI
Don't know if we want to bring this back or not... We have better things for this now. But it's breaking CI.
This commit is contained in:
parent
a9654d6cfb
commit
899f1c802e
1 changed files with 17 additions and 0 deletions
|
@ -1424,6 +1424,23 @@ paint_all()
|
|||
override = global_focus.overrideWindow;
|
||||
input = global_focus.inputFocusWindow;
|
||||
|
||||
if (++frameCounter == 300)
|
||||
{
|
||||
currentFrameRate = 300 * 1000.0f / (currentTime - lastSampledFrameTime);
|
||||
lastSampledFrameTime = currentTime;
|
||||
frameCounter = 0;
|
||||
|
||||
stats_printf( "fps=%f\n", currentFrameRate );
|
||||
|
||||
if ( w && w->isSteam )
|
||||
{
|
||||
stats_printf( "focus=steam\n" );
|
||||
}
|
||||
else
|
||||
{
|
||||
stats_printf( "focus=%i\n", w ? w->appID : 0 );
|
||||
}
|
||||
}
|
||||
|
||||
struct Composite_t composite = {};
|
||||
struct VulkanPipeline_t pipeline = {};
|
||||
|
|
Loading…
Reference in a new issue