Browse Source

Fixed missing line

Sam Lantinga 2 years ago
parent
commit
c824060503
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/video/SDL_video.c

+ 1 - 0
src/video/SDL_video.c

@@ -1374,6 +1374,7 @@ static int SDL_UpdateFullscreenMode(SDL_Window *window, SDL_bool fullscreen)
                     if (_this->SetWindowFullscreen) {
                         _this->SetWindowFullscreen(_this, window, last_display, SDL_FALSE);
                     }
+                    last_display->fullscreen_window = NULL;
                 }
             }
         }