fix jitter adjustment
This commit is contained in:
@@ -340,9 +340,8 @@ static float GetFrameTimingAdjustment( float fDeltaTime )
|
|||||||
if( fabsf(fExtraDelay) >= fExpectedDelay )
|
if( fabsf(fExtraDelay) >= fExpectedDelay )
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/* Subtract the extra delay. (We might have delayed too little, in which case we'll return
|
/* Subtract the extra delay. */
|
||||||
* a positive number; this is normal.) */
|
return min( -fExtraDelay, 0 );
|
||||||
return -fExtraDelay;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void RageSounds::Update( float fDeltaTime )
|
void RageSounds::Update( float fDeltaTime )
|
||||||
|
|||||||
Reference in New Issue
Block a user