gnarly hack to make FPS work okay in full screen.

This commit is contained in:
2015-07-28 00:37:28 -07:00
parent cca681adeb
commit 9500c2a4d1

View File

@@ -207,7 +207,6 @@
(.width (.getDesktopDisplayMode Gdx/graphics)) (.width (.getDesktopDisplayMode Gdx/graphics))
(.height (.getDesktopDisplayMode Gdx/graphics)) (.height (.getDesktopDisplayMode Gdx/graphics))
true) true)
(set! (.foregroundFPS (-> (class Gdx/graphics) (set! (.foregroundFPS (-> (class Gdx/graphics)
(.getDeclaredField (name "config")) (.getDeclaredField (name "config"))
(doto (.setAccessible true)) (doto (.setAccessible true))