Query the display mode to use when a window is visible at fullscreen.
const SDL_DisplayMode* SDL_GetWindowFullscreenMode(SDL_Window *window);
window | the window to query |
Returns a pointer to the fullscreen mode to use or NULL for desktop mode
This function is available since SDL 3.0.0.