gdx-setup
gdx-setup copied to clipboard
Set HdpiMode to HdpiMode.Pixels to remove pixelated look on OS X
Hi, first of all I'd like to thank you for a very well-made and useful tool. Now, I use a Mac to develop sometimes, and the setup tool looks pixelated and grainy on this platform - usually this problem is caused by the HdpiMode not being set to Pixels in the Lwjgl3ApplicationConfiguration.
If you could add a config.setHdpiMode(HdpiMode.Pixels)
-line to the launch logic, at least for OS X, that'd likely fix the issue.
Thanks, I'll look into it. Can you think of any other issues with LibGDX application on Macs?
Not really, no. -XstartOnFirstThread is already handled, after all.
Using HdpiMode.Pixels makes the display crisp on Mac, but it also doubles the resolution, so some UI elements may not render as intended - I haven't tested though.