From 72f4d7f569ccd5f50dcf3a606af55a53d2700113 Mon Sep 17 00:00:00 2001 From: Pascal Thomet Date: Fri, 29 Dec 2023 10:40:48 +0100 Subject: [PATCH] Fix #83: call SetThreadDpiAwarenessContextFn and SetProcessDpiAwarenessFn --- .../backend_impls/backend_window_helper/win32_dpi_awareness.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hello_imgui/internal/backend_impls/backend_window_helper/win32_dpi_awareness.cpp b/src/hello_imgui/internal/backend_impls/backend_window_helper/win32_dpi_awareness.cpp index a107062d..cd162ee8 100644 --- a/src/hello_imgui/internal/backend_impls/backend_window_helper/win32_dpi_awareness.cpp +++ b/src/hello_imgui/internal/backend_impls/backend_window_helper/win32_dpi_awareness.cpp @@ -113,7 +113,6 @@ namespace Internal "SetThreadDpiAwarenessContext")) { SetThreadDpiAwarenessContextFn(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2); - return; } } if (_IsWindows8Point1OrGreater())