Scroll to navigation

SDL_DestroyWindow(3) SDL3 FUNCTIONS SDL_DestroyWindow(3)

NAME

SDL_DestroyWindow - Destroy a window.

HEADER FILE

Defined in SDL3/SDL_video.h

SYNOPSIS

#include "SDL3/SDL.h"
void SDL_DestroyWindow(SDL_Window *window);

DESCRIPTION

Any child windows owned by the window will be recursively destroyed as well.

FUNCTION PARAMETERS

the window to destroy.

AVAILABILITY

This function is available since SDL 3.1.3.

SEE ALSO

(3), SDL_CreatePopupWindow(3), (3), SDL_CreateWindow(3), (3), SDL_CreateWindowWithProperties(3)

SDL 3.1.6 Simple Directmedia Layer