Reverted unrelated change

This commit is contained in:
Andrew Murray 2019-08-17 20:38:54 +10:00
parent fa6b80fddf
commit 19426417ff

View File

@ -345,8 +345,8 @@ PyImaging_GrabScreenWin32(PyObject* self, PyObject* args)
width = GetSystemMetrics(SM_CXVIRTUALSCREEN);
height = GetSystemMetrics(SM_CYVIRTUALSCREEN);
} else {
width = GetSystemMetrics(SM_CXSCREEN);
height = GetSystemMetrics(SM_CYSCREEN);
width = GetDeviceCaps(screen, HORZRES);
height = GetDeviceCaps(screen, VERTRES);
}
bitmap = CreateCompatibleBitmap(screen, width, height);