Created
January 11, 2016 15:11
-
-
Save vydd/eb888d6873df6c64c0b2 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
(defun set-window-fullscreen (win fullscreen-p &optional desktop-p) | |
(let ((fs (if fullscreen-p | |
(if desktop-p | |
sdl2-ffi:+SDL-WINDOW-FULLSCREEN-DESKTOP+ | |
sdl2-ffi:+SDL-WINDOW-FULLSCREEN+) | |
0))) | |
(check-rc (sdl-set-window-fullscreen win fs)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment