mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 13:37:22 +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);
|
GetMonitorInfo(monitor, &monitorInfo);
|
||||||
*dpi = monitor_dpi(monitor);
|
*dpi = monitor_dpi(monitor);
|
||||||
CloseHandle(monitor);
|
|
||||||
|
|
||||||
*width = monitorInfo.rcMonitor.right - monitorInfo.rcMonitor.left;
|
*width = monitorInfo.rcMonitor.right - monitorInfo.rcMonitor.left;
|
||||||
*height = monitorInfo.rcMonitor.bottom - monitorInfo.rcMonitor.top;
|
*height = monitorInfo.rcMonitor.bottom - monitorInfo.rcMonitor.top;
|
||||||
|
Loading…
Reference in New Issue
Block a user