From b49decc0c5b2f0799f13597669872fae4197baf7 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Sat, 9 Oct 2021 23:47:25 +0200 Subject: [PATCH] Now creates window fullscreen --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index e61c425..261e4dd 100644 --- a/main.cpp +++ b/main.cpp @@ -165,7 +165,7 @@ int main(int argc, const char * argv[]) { sc::gui::SDLImageWrapper sdl_image; // main window - sc::gui::Window& window {sc::gui::Window::new_window("Living Art")}; + sc::gui::Window& window {sc::gui::Window::new_window("Living Art", SDL_WINDOW_FULLSCREEN)}; main_window = &window; window.add_event_handler(handle_window_resize, SDL_WINDOWEVENT_RESIZED); window.add_event_handler(handle_window_resize, SDL_WINDOWEVENT_SIZE_CHANGED);