From 1235396d8a35750e23b1739581931deb170494cb Mon Sep 17 00:00:00 2001 From: GoaLitiuM Date: Tue, 27 Sep 2016 18:04:10 +0300 Subject: [PATCH] Restore exclusive fullscreen option --- Pulsus/GameWindow.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Pulsus/GameWindow.cs b/Pulsus/GameWindow.cs index 0d06094..93f5a3e 100644 --- a/Pulsus/GameWindow.cs +++ b/Pulsus/GameWindow.cs @@ -55,8 +55,8 @@ private void CreateWindow(string title, int x, int y, int width, int height, Vid SDL.SDL_WindowFlags flags = SDL.SDL_WindowFlags.SDL_WINDOW_SHOWN & SDL.SDL_WindowFlags.SDL_WINDOW_OPENGL; if (mode == VideoMode.Borderless) flags |= SDL.SDL_WindowFlags.SDL_WINDOW_BORDERLESS; - //else if (mode == VideoMode.Fullscreen) - // flags |= SDL.SDL_WindowFlags.SDL_WINDOW_FULLSCREEN; + else if (mode == VideoMode.Fullscreen) + flags |= SDL.SDL_WindowFlags.SDL_WINDOW_FULLSCREEN; handle = SDL.SDL_CreateWindow(title, x, y, width, height, flags);