diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-22 21:13:57 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-22 21:13:57 +0300 |
commit | 8ba4ca3dfe284edb0af9f342b272a9cc0ee04d02 (patch) | |
tree | a8889142d683392b3e4f67a5cefc9394c9023baa /src | |
parent | 704864566e61a7472c4b10d75601546e143e6a2e (diff) |
Window: Smaller minimum size
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { | |||
258 | if (SDL_CreateWindowAndRenderer(800, 500, flags, &d->win, &d->render)) { | 258 | if (SDL_CreateWindowAndRenderer(800, 500, flags, &d->win, &d->render)) { |
259 | fprintf(stderr, "Error when creating window: %s\n", SDL_GetError()); | 259 | fprintf(stderr, "Error when creating window: %s\n", SDL_GetError()); |
260 | exit(-2); | 260 | exit(-2); |
261 | } | 261 | } |
262 | SDL_SetWindowMinimumSize(d->win, 640, 480); | 262 | SDL_SetWindowMinimumSize(d->win, 320, 240); |
263 | SDL_SetWindowTitle(d->win, "Lagrange"); | 263 | SDL_SetWindowTitle(d->win, "Lagrange"); |
264 | /* Some info. */ { | 264 | /* Some info. */ { |
265 | SDL_RendererInfo info; | 265 | SDL_RendererInfo info; |