Hard to believe, but I think fullscreen truly works, even through sleep.

This commit is contained in:
Bryce Covert
2015-09-03 19:26:38 -07:00
parent 3dfbd9b408
commit a63a5352c1
12 changed files with 53 additions and 157 deletions

View File

@@ -212,7 +212,7 @@
(defn setup-viewport [screen width height]
(let [cam (orthographic)
(let [cam (or (:cam screen) (orthographic))
viewport (FitViewport. width height cam)
stage (Stage. viewport)]
(update! screen :renderer stage :viewport viewport :camera cam)