Skip to content

Commit 8ccbe2b

Browse files
committed
feature: remove SDL_WINDOW_MAXIMIZED window flag
1 parent f4a391b commit 8ccbe2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sdl/methods.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ int startGameBySDL(TGame* pGame, int maxGeneration, int delayBetweenGenerations)
2929
char windowCaption[256];
3030
int windowWidth = cellSize * (pGame->cols + 2);
3131
int windowHeight = cellSize * (pGame->rows + 2);
32-
Uint32 windowFlags = SDL_WINDOW_SHOWN | SDL_WINDOW_RESIZABLE | SDL_WINDOW_MAXIMIZED;
32+
Uint32 windowFlags = SDL_WINDOW_SHOWN | SDL_WINDOW_RESIZABLE;
3333

3434
// SDL initialization
3535
if (SDL_Init(SDL_INIT_VIDEO) != 0) {

0 commit comments

Comments
 (0)