src/video/win32/SDL_win32events.c
changeset 4788 0bfda420c936
parent 4429 faa9fc8e7f67
child 4815 93402b9dd20c
equal deleted inserted replaced
4787:e25ad8d97027 4788:0bfda420c936
   490             int w, h;
   490             int w, h;
   491             int style;
   491             int style;
   492             BOOL menu;
   492             BOOL menu;
   493 
   493 
   494             /* If we allow resizing, let the resize happen naturally */
   494             /* If we allow resizing, let the resize happen naturally */
       
   495             if(SDL_IsShapedWindow(data->window))
       
   496                 SDL_ResizeWindowShape(data->window);
   495             if (SDL_GetWindowFlags(data->window) & SDL_WINDOW_RESIZABLE) {
   497             if (SDL_GetWindowFlags(data->window) & SDL_WINDOW_RESIZABLE) {
   496                 returnCode = 0;
   498                 returnCode = 0;
   497                 break;
   499                 break;
   498             }
   500             }
   499 
   501