DOKK / manpages / debian 13 / libsdl3-doc / SDL_GetWindowFullscreenMode.3.en
SDL_GetWindowFullscreenMode(3) SDL3 FUNCTIONS SDL_GetWindowFullscreenMode(3)

SDL_GetWindowFullscreenMode - Query the display mode to use when a window is visible at fullscreen.

Defined in SDL3/SDL_video.h

#include "SDL3/SDL.h"
const SDL_DisplayMode * SDL_GetWindowFullscreenMode(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 should only be called on the main thread.

This function is available since SDL 3.2.0.

(3), SDL_SetWindowFullscreenMode(3), (3), SDL_SetWindowFullscreen(3)

SDL 3.2.10 Simple Directmedia Layer