Avoid DPI scaling on Windows

Causes ugly blurring. The window can be resized manually if it's too
small.
This commit is contained in:
Clownacy 2020-09-26 23:16:23 +01:00
parent 530dab7bab
commit c2bc6c5ec2
2 changed files with 10 additions and 0 deletions

View file

@ -43,6 +43,7 @@ project(CSE2 LANGUAGES C CXX)
add_executable(CSE2 WIN32
"${ASSETS_DIRECTORY}/resources/CSE2.rc"
"${ASSETS_DIRECTORY}/resources/CSE2.manifest"
"src/ArmsItem.cpp"
"src/ArmsItem.h"
"src/Back.cpp"

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/pm</dpiAware>
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">permonitorv2,permonitor</dpiAwareness>
</windowsSettings>
</application>
</assembly>