diff --git a/src/video/windows/SDL_windowswindow.c b/src/video/windows/SDL_windowswindow.c index d3a03053e..0da83bb0f 100644 --- a/src/video/windows/SDL_windowswindow.c +++ b/src/video/windows/SDL_windowswindow.c @@ -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;