gpu: Fix forward declaration and inclusion of PrivateGPUDriver

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

No files matched your search

+3
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
+1 -1
View File
@@ -989,7 +989,7 @@ extern "C" {
extern SDL_GPUBootstrap VulkanDriver;
extern SDL_GPUBootstrap D3D12Driver;
extern SDL_GPUBootstrap MetalDriver;
extern SDL_GPUBootstrap PS5Driver;
extern SDL_GPUBootstrap PrivateGPUDriver;
#ifdef __cplusplus
}