1
0
Fork 0
This commit is contained in:
gmh5225 2022-06-07 19:58:15 +08:00
parent 670746737d
commit 8b74e7cc4e
No known key found for this signature in database
GPG Key ID: 3BBC731F40B2CEC1
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ enableHighDpiScaling()
static HMODULE user32 = LoadLibraryW(L"user32.dll");
if(user32)
{
typedef unsigned int(WINAPI * pfnSetProcessDpiAwarenessContext)(unsigned int value);
typedef unsigned int(WINAPI * pfnSetProcessDpiAwarenessContext)(size_t value);
static pfnSetProcessDpiAwarenessContext pSetProcessDpiAwarenessContext =
(pfnSetProcessDpiAwarenessContext)GetProcAddress(user32, "SetProcessDpiAwarenessContext");
if(pSetProcessDpiAwarenessContext)