SDL: SDL_gpu.c: fixed build when SDL_GPU_DISABLED is defined.

From a833ee2e63ee5da06fdc7ca72b4ec3375db5b8b8 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sat, 14 Sep 2024 20:40:56 +0300
Subject: [PATCH] SDL_gpu.c: fixed build when SDL_GPU_DISABLED is defined.

---
 src/gpu/SDL_gpu.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/gpu/SDL_gpu.c b/src/gpu/SDL_gpu.c
index 0b07ff8823436..b458894b71b6a 100644
--- a/src/gpu/SDL_gpu.c
+++ b/src/gpu/SDL_gpu.c
@@ -150,7 +150,6 @@
 
 // Drivers
 
-#ifndef SDL_GPU_DISABLED
 static const SDL_GPUBootstrap *backends[] = {
 #ifdef SDL_GPU_METAL
     &MetalDriver,
@@ -166,7 +165,6 @@ static const SDL_GPUBootstrap *backends[] = {
 #endif
     NULL
 };
-#endif // SDL_GPU_DISABLED
 
 // Internal Utility Functions
 
@@ -438,7 +436,6 @@ static const SDL_GPUBootstrap * SDL_GPUSelectBackend(SDL_PropertiesID props)
     SDL_LogError(SDL_LOG_CATEGORY_GPU, "No supported SDL_GPU backend found!");
     return NULL;
 }
-#endif // SDL_GPU_DISABLED
 
 static void SDL_GPU_FillProperties(
     SDL_PropertiesID props,
@@ -467,6 +464,7 @@ static void SDL_GPU_FillProperties(
     SDL_SetBooleanProperty(props, SDL_PROP_GPU_DEVICE_CREATE_DEBUGMODE_BOOL, debug_mode);
     SDL_SetStringProperty(props, SDL_PROP_GPU_DEVICE_CREATE_NAME_STRING, name);
 }
+#endif // SDL_GPU_DISABLED
 
 SDL_bool SDL_GPUSupportsShaderFormats(
     SDL_GPUShaderFormat format_flags,