-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 10 Scaling #83
Comments
I suspect the executable not setting "DPI awareness" (in code or by application manifest) to be the cause for this. Can you try to replace your packr executable with the ones I pushed to this branch? I'd like to verify if this actually fixes the issue before I merge it to master. |
f23a3fb is aiming to fix that. Additional tests/feedback highly appreciated. |
Hi @code-disaster - I'm still seeing this issue with the latest version of packr (2.0.0-SNAPSHOT, I believe). I'm using LWJGL2. Running the JAR directly works fine, as does going to properties on the executable and checking 'override high DPI scaling behavior'. I'm running packr on macOS, if that makes any difference. Thanks! Love this tool. |
Same here, on windows 10. It works fine with LWJGL3. But if you want to use LWJGL2, you can add the following to vm args in config.json -Dsun.java2d.dpiaware=true |
Thanks @someguy233 - this fixed the problem for me! |
My libgdx game gets stretched larger when my desktop scaling is set to 125% in Windows 10. Happens when I set the game to fullscreen.
Running the JAR directly maintains the correct size.
The text was updated successfully, but these errors were encountered: