diff --git a/engine/platform/sdl2/vid_sdl2.c b/engine/platform/sdl2/vid_sdl2.c index ef0b074c..e2cfd29d 100644 --- a/engine/platform/sdl2/vid_sdl2.c +++ b/engine/platform/sdl2/vid_sdl2.c @@ -969,8 +969,8 @@ qboolean R_Init_Video( const int type ) int displayIndex = SDL_GetPointDisplayIndex( &point ); #else int displayIndex = 0; - SDL_GetCurrentDisplayMode( displayIndex, &displayMode ); #endif + SDL_GetCurrentDisplayMode( displayIndex, &displayMode ); refState.desktopBitsPixel = SDL_BITSPERPIXEL( displayMode.format );