diff options
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index c07feaf9..14eb6ac1 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -1465,9 +1465,6 @@ void init_Window(iWindow *d, iRect rect) { | |||
1465 | d->uiScale = initialUiScale_; | 1465 | d->uiScale = initialUiScale_; |
1466 | setScale_Metrics(d->pixelRatio * d->displayScale * d->uiScale); | 1466 | setScale_Metrics(d->pixelRatio * d->displayScale * d->uiScale); |
1467 | #if defined (iPlatformMsys) | 1467 | #if defined (iPlatformMsys) |
1468 | SDL_Rect usable; | ||
1469 | SDL_GetDisplayUsableBounds(0, &usable); | ||
1470 | SDL_SetWindowMaximumSize(d->win, usable.w, usable.h); | ||
1471 | SDL_SetWindowMinimumSize(d->win, minSize.x * d->displayScale, minSize.y * d->displayScale); | 1468 | SDL_SetWindowMinimumSize(d->win, minSize.x * d->displayScale, minSize.y * d->displayScale); |
1472 | useExecutableIconResource_SDLWindow(d->win); | 1469 | useExecutableIconResource_SDLWindow(d->win); |
1473 | #endif | 1470 | #endif |