mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 06:11:46 +00:00
[host] nvfbc: remove invalid close of the HMONITOR handle
This commit is contained in:
parent
23e883f60f
commit
98ea8b0bb8
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue