java - How to resize a Libgdx desktop window in-code during runtime -
i have problem finding out how resize window in-code during runtime.
i have tried using gdx.graphics.setdisplaymode(); removes ability resize window, wich must in game. tried access display class opengl without luck, since not referenced in core part of gradle.
any idea how done?
i stuck exact same problem. , figured out instead of directly call display.setdisplaymode(new displaymode(width, height))
should use gdx.graphics.setwindowedmode(width, height)
change window size.
Comments
Post a Comment