Closed borodust closed 7 years ago
Useful for setting fullscreen mode on/off dynamically.
Example usage:
(if fullscreen-p (let* ((monitor (glfw:get-primary-monitor)) (video-mode (%glfw:get-video-mode monitor)) (width (getf video-mode '%glfw:width)) (height (getf video-mode '%glfw:height))) (glfw:set-window-monitor monitor width height :window window)) (glfw:set-window-monitor nil 640 480 :window window :x-position 100 :y-position 100))
Sorry for the slow review, and thanks for the contribution!
Useful for setting fullscreen mode on/off dynamically.
Example usage: