Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upWindows 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.