diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index 5a38114bc..b5ce0d4d5 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -1241,7 +1241,7 @@ static void I_CheckDesktopRes(void) return; } - if (SDL_GetDesktopDisplayMode(currentDisplayIndex, &curmode) != 0) + if (SDL_GetCurrentDisplayMode(currentDisplayIndex, &curmode) != 0) { return; }