فهرست منبع

GDK: Use WIN_IsRectEmpty (IsRectEmpty is desktop-only)

Jade Macho 1 سال پیش
والد
کامیت
e2a8209263
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/video/windows/SDL_windowswindow.c

+ 1 - 1
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;