ref: c2bc6c5ec2a69b87d6d86b90dbd96221879ce644
parent: 530dab7bab4398f255210685046bae13c9946112
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sat Sep 26 19:16:23 EDT 2020
Avoid DPI scaling on Windows Causes ugly blurring. The window can be resized manually if it's too small.
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -43,6 +43,7 @@
add_executable(CSE2 WIN32
"${ASSETS_DIRECTORY}/resources/CSE2.rc"
+ "${ASSETS_DIRECTORY}/resources/CSE2.manifest"
"src/ArmsItem.cpp"
"src/ArmsItem.h"
"src/Back.cpp"
--- /dev/null
+++ b/assets/resources/CSE2.manifest
@@ -1,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>