aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/application.lisp
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-07-01 09:47:16 -0500
committerColin Okay <colin@cicadas.surf>2022-07-01 09:47:16 -0500
commit867703d82c6e8b7a2b424845fcb30537061de45a (patch)
tree1f3180042222e819a91dcc3c8aa2810bc69efc2c /src/application.lisp
parentf93d073f8cd06fbccb1285ae04c8b9d2d5c5a7b0 (diff)
[add] frameset class and an [exmaple] using it
Diffstat (limited to 'src/application.lisp')
-rw-r--r--src/application.lisp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/application.lisp b/src/application.lisp
index 2f6747e..d38cd8a 100644
--- a/src/application.lisp
+++ b/src/application.lisp
@@ -18,7 +18,7 @@
(window :with :a)
(refocus-on-mousedown-p :std t)
(focus last-motion-target :with :a)
- (fps :with :std 30 :doc "Frames Per Second")
+ (fps :std 30 :doc "Frames Per Second")
(frame-wait :r)))
@@ -82,7 +82,7 @@
"Runs all of the handlers objects listening for perframe events, if
those objects are currently part of the scene tree."
(let ((table (perframe-table (listener app)))
- (time (get-universal-time)))
+ (time (sdl2:get-ticks)))
(loop for target being the hash-key of table
for handlers = (slot-value (listener target) 'perframe)
;; only fire perframe when target is in scene