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

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -