---
name: "SDL_DestroyGPUDevice"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_DestroyGPUDevice"
---

# SDL\_DestroyGPUDevice(3)

Destroys a GPU context previously returned by SDL\_CreateGPUDevice .

## NAME

SDL\_DestroyGPUDevice - Destroys a GPU context previously returned by  **SDL\_CreateGPUDevice** .

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**void SDL\_DestroyGPUDevice(SDL\_GPUDevice \*device);**

## FUNCTION PARAMETERS

- *device*

  a GPU Context to destroy.

## AVAILABILITY

This function is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_CreateGPUDevice**(3)](/SDL_CreateGPUDevice/3.md)
