game.loop: Fix game loop for timers change

fix-linux
Doug Coleman 2020-01-04 14:02:21 -06:00
parent 9bb19274b2
commit b35a5466e1
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ TUPLE: game-loop-error-state error game-loop ;
<PRIVATE <PRIVATE
: last-tick-percent-offset ( loop -- float ) : last-tick-percent-offset ( loop -- float )
[ draw-timer>> iteration-start-nanos>> nano-count swap - ] [ draw-timer>> next-nanos>> nano-count swap - ]
[ tick-interval-nanos>> ] bi /f 1.0 min ; [ tick-interval-nanos>> ] bi /f 1.0 min ;
GENERIC#: record-benchmarking 1 ( loop quot -- ) GENERIC#: record-benchmarking 1 ( loop quot -- )