update fullscreen appropriately.

This commit is contained in:
Bryce Covert
2015-11-23 21:10:29 -08:00
parent 8697154240
commit c9ee4b8f70
2 changed files with 23 additions and 29 deletions

View File

@@ -438,8 +438,9 @@
(doto (.setAccessible true))
(.get Gdx/graphics))) 60))
(on-gl (.setDisplayMode Gdx/graphics 1280 960 false)))
(swap! settings assoc :fullscreen val)
(save-settings!)
(on-gl
(swap! settings assoc :fullscreen val)
(save-settings!))
nil
(catch Exception e
(println e))))