Browse Source

Avoid unnescessarily updating fullscreen display modes

(cherry picked from commit e90bdfb5ea976f6bccf71a66af96bf9c82d9fd61)
meta-legend 3 days ago
parent
commit
af5b015b21
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/video/SDL_video.c

+ 0 - 3
src/video/SDL_video.c

@@ -1509,9 +1509,6 @@ const SDL_DisplayMode *SDL_GetCurrentDisplayMode(SDL_DisplayID displayID)
 
 
     CHECK_DISPLAY_MAGIC(display, NULL);
     CHECK_DISPLAY_MAGIC(display, NULL);
 
 
-    // Make sure our mode list is updated
-    SDL_UpdateFullscreenDisplayModes(display);
-
     return display->current_mode;
     return display->current_mode;
 }
 }