From 039ae5f134c8b488bb4168fa1eca8b84a581988c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Thu, 25 Oct 2018 20:40:09 +0200 Subject: [PATCH] Use real fullscreen. --- src/main.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 5b41f41..7af6ace 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -73,11 +73,7 @@ int main(int argc, char *argv[]) { } if(args.fullscreen) - { - SDL_SetWindowBordered(window, SDL_FALSE); - SDL_SetWindowFullscreen(window, - SDL_WINDOW_FULLSCREEN_DESKTOP); - } + SDL_SetWindowFullscreen(window, SDL_WINDOW_FULLSCREEN); SDL_SetRelativeMouseMode(SDL_TRUE); SDL_GLContext glcontext = SDL_GL_CreateContext(window);