Sfoglia il codice sorgente

Avoid unnescessarily updating fullscreen display modes

meta-legend 2 mesi fa
parent
commit
e90bdfb5ea
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      src/video/SDL_video.c

+ 0 - 3
src/video/SDL_video.c

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