ConsoleApplication/win32_screen_shots.cpp
@@ -22,14 +22,8 @@ if (GetWindowRect(h, &rect) == FALSE) break; if (rect.left < 0) rect.left = 0; if (rect.top < 0) rect.top = 0; width = rect.right - rect.left; height = rect.bottom - rect.top; width = abs( rect.right - rect.left); height =abs( rect.bottom - rect.top); hdc = GetWindowDC(h); if (hdc == nullptr)