Reference

SDL_ReleaseWindowFromGPUDevice(3)

Unclaims a window, destroying its swapchain structure.

NAME

SDL_ReleaseWindowFromGPUDevice - Unclaims a window, destroying its swapchain structure.

HEADER FILE

Defined in SDL3/SDL_gpu.h

SYNOPSIS

#include "SDL3/SDL.h"

void SDL_ReleaseWindowFromGPUDevice( SDL_GPUDevice *device, SDL_Window *window);

FUNCTION PARAMETERS

device

a GPU context.

window

an SDL_Window
that has been claimed.

AVAILABILITY

This function is available since SDL 3.2.0.

SEE ALSO

•(3), SDL_ClaimWindowForGPUDevice(3)