mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-04 17:06:25 +00:00
gpu: Fix forward declaration and inclusion of PrivateGPUDriver
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user