[host] nvfbc: remove invalid close of the HMONITOR handle

This commit is contained in:
Geoffrey McRae 2021-01-21 16:17:24 +11:00
parent 23e883f60f
commit 98ea8b0bb8

View file

@ -77,7 +77,6 @@ static void getDesktopSize(unsigned int * width, unsigned int * height, unsigned
GetMonitorInfo(monitor, &monitorInfo);
*dpi = monitor_dpi(monitor);
CloseHandle(monitor);
*width = monitorInfo.rcMonitor.right - monitorInfo.rcMonitor.left;
*height = monitorInfo.rcMonitor.bottom - monitorInfo.rcMonitor.top;