Switch when frames wait
This commit is contained in:
parent
c3998a4105
commit
8083fdd812
2
word.rkt
2
word.rkt
|
@ -85,7 +85,7 @@
|
||||||
(collect-garbage 'incremental)
|
(collect-garbage 'incremental)
|
||||||
|
|
||||||
(define fps (word-fps w))
|
(define fps (word-fps w))
|
||||||
(define next-time (compute-next-time frame-end-time fps))
|
(define next-time (compute-next-time frame-start-time #;frame-end-time fps))
|
||||||
(define deadline-evt (alarm-evt next-time))
|
(define deadline-evt (alarm-evt next-time))
|
||||||
(define input-enabled? (fl= 0.0 fps))
|
(define input-enabled? (fl= 0.0 fps))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue