diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-03-12 14:37:35 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-03-12 14:37:35 -0500 |
commit | ab9aa1538a078ce289dddfb23ff727c3f165e47d (patch) | |
tree | 24a394cbad01d046958b99ee3a65475611df63ea /src | |
parent | 71354cdc7b5b3aa2bbf12ff29dc53b084d3250c4 (diff) | |
download | ether-ab9aa1538a078ce289dddfb23ff727c3f165e47d.tar.gz ether-ab9aa1538a078ce289dddfb23ff727c3f165e47d.tar.bz2 ether-ab9aa1538a078ce289dddfb23ff727c3f165e47d.zip |
fullscreen
Diffstat (limited to 'src')
-rw-r--r-- | src/renderer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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() | |||
12 | GAME_HEIGHT, | 12 | GAME_HEIGHT, |
13 | SDL_WINDOW_SHOWN)); | 13 | SDL_WINDOW_SHOWN)); |
14 | 14 | ||
15 | SDL_SetWindowFullscreen(win_.get(), SDL_WINDOW_FULLSCREEN); | ||
16 | |||
15 | if (!win_) | 17 | if (!win_) |
16 | { | 18 | { |
17 | throw sdl_error(); | 19 | throw sdl_error(); |