Hey, so I wanted my application’s width and height defined in the DesktopLauncher class to be set to the user’s maximum screen resolution. I thought this would work:
config.width = LwjglApplicationConfiguration.getDesktopDisplayMode().width;
config.height = LwjglApplicationConfiguration.getDesktopDisplayMode().height;
However, this causes some weird behavior. The width and height aren’t set at all and all modifications to config after those two lines are completely ignored.
In your LibGDX projects, how do you normally set config.width and config.height in your DesktopLauncher class? How can I get it to default to the maximum resolution of the user’s monitor?
(I don’t want my window resizable so I want the window to completely take up their screen already in case you were wondering why I don’t just set it to 800x600 or something and let the user resize it)