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:
Joshua Ashton 2022-01-31 17:16:18 +00:00
parent a9654d6cfb
commit 899f1c802e

View file

@ -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 = {};