GDK: Use WIN_IsRectEmpty (IsRectEmpty is desktop-only)

This commit is contained in:
Jade Macho authored and Sam Lantinga committed 2024-03-02 10:30:29 -08:00
1 parent 290f64b86c
commit e2a8209263
1 file changed
+1 -1
+1 -1
View File
@@ -453,7 +453,7 @@ static int SetupWindowData(SDL_VideoDevice *_this, SDL_Window *window, HWND hwnd
}
if (!(window->flags & SDL_WINDOW_MINIMIZED)) {
RECT rect;
if (GetClientRect(hwnd, &rect) && !IsRectEmpty(&rect)) {
if (GetClientRect(hwnd, &rect) && !WIN_IsRectEmpty(&rect)) {
int w = rect.right;
int h = rect.bottom;