Explorar o código

Avoid unnescessarily updating fullscreen display modes

meta-legend hai 3 semanas
pai
achega
e90bdfb5ea
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  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;
 }