From 1f251b7a27dfbcb0ff3e716b270a1c8869c8664d Mon Sep 17 00:00:00 2001 From: Nicholas Rishel Date: Thu, 4 Mar 2021 15:48:48 -0800 Subject: Win8 cleanup, remove dead function pointer and macro. --- intern/ghost/intern/GHOST_SystemWin32.cpp | 1 - intern/ghost/intern/GHOST_WindowWin32.h | 3 --- 2 files changed, 4 deletions(-) (limited to 'intern/ghost') diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp index c3a243cc22c..45b9e88f884 100644 --- a/intern/ghost/intern/GHOST_SystemWin32.cpp +++ b/intern/ghost/intern/GHOST_SystemWin32.cpp @@ -139,7 +139,6 @@ static void initRawInput() #undef DEVICE_COUNT } -typedef HRESULT(API *GHOST_WIN32_SetProcessDpiAwareness)(PROCESS_DPI_AWARENESS); typedef BOOL(API *GHOST_WIN32_EnableNonClientDpiScaling)(HWND); GHOST_SystemWin32::GHOST_SystemWin32() diff --git a/intern/ghost/intern/GHOST_WindowWin32.h b/intern/ghost/intern/GHOST_WindowWin32.h index a13bd876667..c261dffc578 100644 --- a/intern/ghost/intern/GHOST_WindowWin32.h +++ b/intern/ghost/intern/GHOST_WindowWin32.h @@ -55,9 +55,6 @@ typedef BOOL(API *GHOST_WIN32_WTOverlap)(HCTX, BOOL); // typedefs for user32 functions to allow dynamic loading of Windows 10 DPI scaling functions typedef UINT(API *GHOST_WIN32_GetDpiForWindow)(HWND); -#ifndef USER_DEFAULT_SCREEN_DPI -# define USER_DEFAULT_SCREEN_DPI 96 -#endif // USER_DEFAULT_SCREEN_DPI struct GHOST_PointerInfoWin32 { GHOST_TInt32 pointerId; -- cgit v1.2.3