Fixes progressive delay, through absolute timing instead of relative one. And frame drop if delay is too much.
Change moving window average for FPS calculation to exponential moving average, it is less CPU intensive (especially if you poll FPS) and gives adequate result.
Fixes progressive delay, through absolute timing instead of relative one. And frame drop if delay is too much. Change moving window average for FPS calculation to exponential moving average, it is less CPU intensive (especially if you poll FPS) and gives adequate result.