From ed2cec28170ea6172d53d95c888a8fcb798d3440 Mon Sep 17 00:00:00 2001 From: Nick Le Large Date: Mon, 9 Dec 2024 11:54:35 +0100 Subject: [PATCH] Add flag allowing the gui to be resized --- demo/src/pacman_wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/src/pacman_wrapper.cpp b/demo/src/pacman_wrapper.cpp index 3428afce..a67c7573 100644 --- a/demo/src/pacman_wrapper.cpp +++ b/demo/src/pacman_wrapper.cpp @@ -36,7 +36,7 @@ SDL::Window createWindow(int scaleFactor) { SDL_WINDOWPOS_CENTERED, tilesPx.x * scaleFactor, tilesPx.y * scaleFactor, - SDL_WINDOW_SHOWN))}; + SDL_WINDOW_SHOWN | SDL_WINDOW_RESIZABLE))}; } SDL::Renderer createRendererAndSetLogicalSize(const SDL::Window& window) {