gdx-setup icon indicating copy to clipboard operation
gdx-setup copied to clipboard

Set HdpiMode to HdpiMode.Pixels to remove pixelated look on OS X

Open snordgren opened this issue 7 years ago • 2 comments

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.

snordgren avatar Dec 17 '17 21:12 snordgren

Thanks, I'll look into it. Can you think of any other issues with LibGDX application on Macs?

czyzby avatar Dec 17 '17 21:12 czyzby

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.

snordgren avatar Dec 18 '17 21:12 snordgren