[FancyZones] Reduce VRAM use (#8469)

This commit is contained in:
Ivan Stošić 2020-12-08 13:31:30 +01:00 committed by GitHub
parent 9d0d5db948
commit 9a906d427a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,8 +120,7 @@ bool ZoneWindow::Init(IZoneWindowHost* host, HINSTANCE hinstance, HMONITOR monit
{
return false;
}
const UINT dpi = GetDpiForMonitor(m_monitor);
workAreaRect = Rect(mi.rcWork, dpi);
workAreaRect = Rect(mi.rcWork);
}
else
{