sdlDestroyGpuDevice function gpu
Destroys a GPU context previously returned by SDL_CreateGPUDevice.
\param device a GPU Context to destroy.
\since This function is available since SDL 3.2.0.
\sa SDL_CreateGPUDevice
extern SDL_DECLSPEC void SDLCALL SDL_DestroyGPUDevice(SDL_GPUDevice *device)
Implementation
void sdlDestroyGpuDevice(Pointer<SdlGpuDevice> device) {
final sdlDestroyGpuDeviceLookupFunction = _libSdl
.lookupFunction<
Void Function(Pointer<SdlGpuDevice> device),
void Function(Pointer<SdlGpuDevice> device)
>('SDL_DestroyGPUDevice');
return sdlDestroyGpuDeviceLookupFunction(device);
}