diff --git a/src/dedicated/i_video.c b/src/dedicated/i_video.c index 1d784d601..d253a7572 100644 --- a/src/dedicated/i_video.c +++ b/src/dedicated/i_video.c @@ -115,6 +115,10 @@ INT32 VID_GetModeForSize(INT32 w, INT32 h) return -1; } +void VID_RefreshModeList(void) +{ +} + void VID_PrepareModeList(void) { } diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index b23c4652c..db1204ffd 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -1240,7 +1240,7 @@ static void I_CheckDesktopRes(void) return; } - if (SDL_GetDesktopDisplayMode(currentDisplayIndex, &curmode) != 0) + if (SDL_GetCurrentDisplayMode(currentDisplayIndex, &curmode) != 0) { return; }