Skip to content

Instantly share code, notes, and snippets.

@psilord
Created April 22, 2018 03:06
Show Gist options
  • Save psilord/b79b9ba85c16c77a6a2b17111e9530ae to your computer and use it in GitHub Desktop.
Save psilord/b79b9ba85c16c77a6a2b17111e9530ae to your computer and use it in GitHub Desktop.
diff --git a/src/display.lisp b/src/display.lisp
index 2f460a0..301a6b8 100644
--- a/src/display.lisp
+++ b/src/display.lisp
@@ -13,10 +13,11 @@
(defgeneric make-display (core-state)
(:method ((core-state core-state))
(let ((hz (calculate-refresh-rate)))
- (with-cfg (title width height delta periodic-interval debug-frames-interval)
+ (with-cfg (vsync title width height delta periodic-interval debug-frames-interval)
(context core-state)
(setf (slot-value core-state '%display)
(make-instance 'display
+ :vsyncp vsync
:core-state core-state
:title title
:w width
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment