Reputation: 7405
I'm using Android Studio on a retina MBP to compile desktop apps (mainly though LibGDX). My problem is; is that the applications are being scaled up making them look very blurry.
Now if I turn my resolution to 2560x1600 so that nothing scales the app looks fine. I know you can disable this by getting the app info and disabling the "Disable scaling for retina" option BUT my problem is the app is compiled and run, so there's no app info.
Does ANYONE know how to disable scaling in JAVA apps when it's compiled?
Upvotes: 1
Views: 837
Reputation: 7405
I figured this out,
In the desktop configuration, you need to add the following arguments to the VM: -Dorg.lwjgl.opengl.Display.enableHighDPI=true
This disables retina scaling so you can utilise high quality textures.
The next problem is that FreeType font is still blurry.
Upvotes: 1