From 727d36f16b7a0601008293e150b2968300c39a40 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Tue, 15 Mar 2022 18:03:29 +0800 Subject: [PATCH] supported HDPI PerMonitor at Windows platform. --- CMCMakeModule | 2 +- CMCore | 2 +- CMPlatform | 2 +- example/Vulkan/CMakeLists.txt | 3 ++- res | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CMCMakeModule b/CMCMakeModule index 78046ef7..ba5bb610 160000 --- a/CMCMakeModule +++ b/CMCMakeModule @@ -1 +1 @@ -Subproject commit 78046ef7e5a33ace87bb7a858dccab4fe737d24a +Subproject commit ba5bb61096725b03d1487398f025c7574f60eda9 diff --git a/CMCore b/CMCore index f305b89c..6c2f5b25 160000 --- a/CMCore +++ b/CMCore @@ -1 +1 @@ -Subproject commit f305b89cd3e3fe281635a67fba24c77e85242975 +Subproject commit 6c2f5b255c0c04e20531e2fc8ac7843df264fa5b diff --git a/CMPlatform b/CMPlatform index afd66d8f..ad3fb8d3 160000 --- a/CMPlatform +++ b/CMPlatform @@ -1 +1 @@ -Subproject commit afd66d8f400eab3858efea22b5862194995ef642 +Subproject commit ad3fb8d3809f7975df33ea5753f4e1454b6d1f3a diff --git a/example/Vulkan/CMakeLists.txt b/example/Vulkan/CMakeLists.txt index a0e5526e..956a3e27 100644 --- a/example/Vulkan/CMakeLists.txt +++ b/example/Vulkan/CMakeLists.txt @@ -4,6 +4,7 @@ IF(WIN32) set_target_properties(${name} PROPERTIES VS_DEBUGGER_WORKING_DIRECTORY ${ULRE_RUNTIME_PATH}) + set_property(TARGET ${name} PROPERTY VS_DPI_AWARE "PerMonitor") ENDIF() set_property(TARGET ${name} PROPERTY FOLDER "ULRE/Example/Vulkan") @@ -53,4 +54,4 @@ CreateProject(16.DeferredRenderMultiCmdBuffer DeferredRenderMultiCmdBuffer.cpp) CreateProject(17.Cubemap Cubemap.cpp) CreateProject(17.EquirectangularMap EquirectangularMap.cpp) -CreateProject(18.RayPicking RayPicking.cpp) \ No newline at end of file +CreateProject(18.RayPicking RayPicking.cpp) diff --git a/res b/res index 534f4efe..fd0bd99c 160000 --- a/res +++ b/res @@ -1 +1 @@ -Subproject commit 534f4efea9e1db2ad8572d84b68f5b67fc32b557 +Subproject commit fd0bd99c873a376121eb534b99fe7fbfb24c2fd2