Created
April 22, 2018 03:06
-
-
Save psilord/b79b9ba85c16c77a6a2b17111e9530ae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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