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 ) 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 )