Query the display mode to use when a window is visible at fullscreen.
Defined in <SDL3/SDL_video.h>
const SDL_DisplayMode * SDL_GetWindowFullscreenMode(SDL_Window *window);
SDL_Window * | window | the window to query. |
(const SDL_DisplayMode *) Returns a pointer to the exclusive fullscreen mode to use or NULL for borderless fullscreen desktop mode.
This function is available since SDL 3.1.3.