From ab9aa1538a078ce289dddfb23ff727c3f165e47d Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 12 Mar 2022 14:37:35 -0500 Subject: fullscreen --- src/renderer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/renderer.cpp b/src/renderer.cpp index 2ccafb9..251ff96 100644 --- a/src/renderer.cpp +++ b/src/renderer.cpp @@ -12,6 +12,8 @@ Renderer::Renderer() GAME_HEIGHT, SDL_WINDOW_SHOWN)); + SDL_SetWindowFullscreen(win_.get(), SDL_WINDOW_FULLSCREEN); + if (!win_) { throw sdl_error(); -- cgit 1.4.1