fix jitter adjustment

This commit is contained in:
Glenn Maynard
2004-03-02 07:34:32 +00:00
parent 53f23a32db
commit 679e9e613a
+2 -3
View File
@@ -340,9 +340,8 @@ static float GetFrameTimingAdjustment( float fDeltaTime )
if( fabsf(fExtraDelay) >= fExpectedDelay )
return 0;
/* Subtract the extra delay. (We might have delayed too little, in which case we'll return
* a positive number; this is normal.) */
return -fExtraDelay;
/* Subtract the extra delay. */
return min( -fExtraDelay, 0 );
}
void RageSounds::Update( float fDeltaTime )