From 8ba4ca3dfe284edb0af9f342b272a9cc0ee04d02 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Wed, 22 Jul 2020 21:13:57 +0300 Subject: Window: Smaller minimum size --- src/ui/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/ui/window.c b/src/ui/window.c index ce95bca4..2bfecd8c 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -258,8 +258,8 @@ void init_Window(iWindow *d) { if (SDL_CreateWindowAndRenderer(800, 500, flags, &d->win, &d->render)) { fprintf(stderr, "Error when creating window: %s\n", SDL_GetError()); exit(-2); - } - SDL_SetWindowMinimumSize(d->win, 640, 480); + } + SDL_SetWindowMinimumSize(d->win, 320, 240); SDL_SetWindowTitle(d->win, "Lagrange"); /* Some info. */ { SDL_RendererInfo info; -- cgit v1.2.3