gpu: Fix forward declaration and inclusion of PrivateGPUDriver

This commit is contained in:
Ethan Lee 2025-02-24 15:46:39 -05:00
parent a7bc6c5e08
commit db817a37f4
2 changed files with 4 additions and 1 deletions

View file

@ -158,6 +158,9 @@
#ifndef SDL_GPU_DISABLED
static const SDL_GPUBootstrap *backends[] = {
#ifdef SDL_GPU_PRIVATE
&PrivateGPUDriver,
#endif
#ifdef SDL_GPU_METAL
&MetalDriver,
#endif