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

SDL_DestroyGPUDevice - Destroys a GPU context previously returned by SDL_CreateGPUDevice .

Defined in SDL3/SDL_gpu.h

#include "SDL3/SDL.h"
void SDL_DestroyGPUDevice(SDL_GPUDevice *device);

a GPU Context to destroy.

This function is available since SDL 3.2.0.

(3), SDL_CreateGPUDevice(3)

SDL 3.2.10 Simple Directmedia Layer