mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-19 06:26:35 +00:00
Examples: Made imgui_impl_win32 drag gdi32.lib for GetDeviceCaps(). (#2327)
This commit is contained in:
parent
d1c45c0d76
commit
03b0266b59
@ -447,6 +447,10 @@ void ImGui_ImplWin32_EnableDpiAwareness()
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma comment(lib, "gdi32") // GetDeviceCaps()
|
||||
#endif
|
||||
|
||||
float ImGui_ImplWin32_GetDpiScaleForMonitor(void* monitor)
|
||||
{
|
||||
UINT xdpi = 96, ydpi = 96;
|
||||
|
Loading…
Reference in New Issue
Block a user