FWGS / xash3d

DEPRECATED in favor of https://github.com/FWGS/xash3d-fwgs. Only bugfixes are accepted.
https://xash.su
GNU General Public License v3.0
554 stars 107 forks source link

Issues with display scaling on Windows #204

Closed lukashaertel closed 7 years ago

lukashaertel commented 7 years ago

Since my screen is rather small, I use display scaling on high DPI devices. When this feature is activate, the game will not run in some resolutions. I couldn't run the game in my screen's native resolution 1920x1080, the screen's "center" was shifted and I could not click some of the menu items and the crosshair was off screen. When deactivating the feature, it works fine.

I couldn't find any hints on this in this on the project's website or GitHub page. It would be nice to see it somewhere in FAQs or installation guides, or to have a the program itself run in 100% scaling, rather than system scaling. This feature seems to be called DPI Awareness.

a1batross commented 7 years ago

As workaround you can disable scailing for one .exe binary, without disabling it in whole system.

a1batross commented 7 years ago

Fixed in https://github.com/FWGS/xash3d/commit/063363bd5175000b71230320111d960dc79a01e7

a1batross commented 7 years ago

Note that engine will scale if you change DPI without logout. So, if you changed DPI, logout and then start Xash3D again.