vblankmanager: Fix mangoapp latency value when late frame
This commit is contained in:
parent
a2e01b5701
commit
fde42a4323
1 changed files with 1 additions and 1 deletions
|
@ -355,7 +355,7 @@ void fpslimitThreadRun( void )
|
||||||
|
|
||||||
uint64_t latency = uint64_t(~0ull);
|
uint64_t latency = uint64_t(~0ull);
|
||||||
if ( refresh % nTargetFPS == 0 )
|
if ( refresh % nTargetFPS == 0 )
|
||||||
latency = targetInterval;
|
latency = frametime;
|
||||||
|
|
||||||
mangoapp_update( frametime, frametime, latency );
|
mangoapp_update( frametime, frametime, latency );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue