Slightly increase remainder resolution.
This commit is contained in:
parent
43b9e9ff32
commit
c453074778
|
@ -155,7 +155,7 @@ static void capFrameRate(long *then, float *remainder)
|
|||
|
||||
SDL_Delay(wait);
|
||||
|
||||
*remainder += 0.667;
|
||||
*remainder += 0.666667;
|
||||
|
||||
*then = SDL_GetTicks();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue