mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 14:57:20 +00:00
[host] nvfbc: remove invalid close of the HMONITOR handle
This commit is contained in:
parent
23e883f60f
commit
98ea8b0bb8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user