mirror of https://github.com/encounter/SDL.git
Fixed whitespace style
This commit is contained in:
parent
77a0d3fe2a
commit
6ec3e69045
|
@ -1118,11 +1118,11 @@ SDL_UpdateFullscreenMode(SDL_Window * window, SDL_bool fullscreen)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* only do the mode change if we want exclusive fullscreen */
|
/* only do the mode change if we want exclusive fullscreen */
|
||||||
if ( ( window->flags & SDL_WINDOW_FULLSCREEN_DESKTOP ) != SDL_WINDOW_FULLSCREEN_DESKTOP )
|
if ((window->flags & SDL_WINDOW_FULLSCREEN_DESKTOP) != SDL_WINDOW_FULLSCREEN_DESKTOP) {
|
||||||
SDL_SetDisplayModeForDisplay(display, &fullscreen_mode);
|
SDL_SetDisplayModeForDisplay(display, &fullscreen_mode);
|
||||||
else
|
} else {
|
||||||
SDL_SetDisplayModeForDisplay(display, NULL);
|
SDL_SetDisplayModeForDisplay(display, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
if (_this->SetWindowFullscreen) {
|
if (_this->SetWindowFullscreen) {
|
||||||
_this->SetWindowFullscreen(_this, other, display, SDL_TRUE);
|
_this->SetWindowFullscreen(_this, other, display, SDL_TRUE);
|
||||||
|
|
Loading…
Reference in New Issue