Skip to content

Commit

Permalink
Restore exclusive fullscreen option
Browse files Browse the repository at this point in the history
  • Loading branch information
GoaLitiuM committed Sep 27, 2016
1 parent 73e9618 commit 1235396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Pulsus/GameWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 1235396

Please sign in to comment.