Scroll to navigation

SDL_DestroyWindow(3) SDL3 FUNCTIONS SDL_DestroyWindow(3)

NAME

SDL_DestroyWindow - Destroy a window.

SYNOPSIS

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

DESCRIPTION

If window is NULL, this function will return immediately after setting the SDL error message to "Invalid window". See

SDL_GetError ().

FUNCTION PARAMETERS

the window to destroy

AVAILABILITY

This function is available since SDL 3.0.0.

SEE ALSO

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

SDL 3.1.0 SDL