working on ending, fullscreen issues.
This commit is contained in:
@@ -27,12 +27,16 @@
|
||||
(do
|
||||
(set! (.width cfg) (doto (.width (LwjglApplicationConfiguration/getDesktopDisplayMode)) println))
|
||||
(set! (.height cfg) (doto (.height (LwjglApplicationConfiguration/getDesktopDisplayMode)) println))
|
||||
#_(set! (.resizable cfg) false)
|
||||
(set! (.useHDPI cfg) true)
|
||||
(set! (.fullscreen cfg) true))
|
||||
(do
|
||||
(set! (.width cfg) 1280)
|
||||
(set! (.height cfg) 960)))
|
||||
(set! (.foregroundFPS cfg) 60)
|
||||
(set! (.backgroundFPS cfg) 60)
|
||||
(System/setProperty "org.lwjgl.opengl.Display.enableHighDPI" "true")
|
||||
#_(System/setProperty "org.lwjgl.opengl.Window.undecorated", "true")
|
||||
|
||||
(LwjglApplication. advent cfg))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user