2 (asdf:oos
'asdf
:load-op
'#:cl-glfw
)
6 (destructuring-bind (width height redbits greenbits bluebits
) (glfw:get-desktop-mode
)
7 (format t
"Desktop mode: ~d x ~d x ~d~%" width height
(+ redbits greenbits bluebits
)))
9 (format t
"Available modes:~%")
11 for mode in
(glfw:get-video-modes
400)
12 do
(destructuring-bind (width height redbits greenbits bluebits
) mode
13 (format t
"~3d: ~d x ~d x ~d~%" i width height
(+ redbits greenbits bluebits
))))