summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2022-03-12 14:37:35 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2022-03-12 14:37:35 -0500
commitab9aa1538a078ce289dddfb23ff727c3f165e47d (patch)
tree24a394cbad01d046958b99ee3a65475611df63ea /src
parent71354cdc7b5b3aa2bbf12ff29dc53b084d3250c4 (diff)
downloadether-ab9aa1538a078ce289dddfb23ff727c3f165e47d.tar.gz
ether-ab9aa1538a078ce289dddfb23ff727c3f165e47d.tar.bz2
ether-ab9aa1538a078ce289dddfb23ff727c3f165e47d.zip
fullscreen
Diffstat (limited to 'src')
-rw-r--r--src/renderer.cpp2
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();