From 858589919aedb51911e8761f2bbaa2ca28de5bbf Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 29 Aug 2024 17:20:30 -0700
Subject: [PATCH] Temporarily use the GPU renderer by default so we get testing
feedback
---
src/render/SDL_render.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/render/SDL_render.c b/src/render/SDL_render.c
index 31e8eea74f989..d00257fa063f4 100644
--- a/src/render/SDL_render.c
+++ b/src/render/SDL_render.c
@@ -106,6 +106,10 @@ this should probably be removed at some point in the future. --ryan. */
#ifndef SDL_RENDER_DISABLED
static const SDL_RenderDriver *render_drivers[] = {
+// Temporarily list the GPU renderer first so we get testing feedback
+#if SDL_VIDEO_RENDER_GPU
+ &GPU_RenderDriver,
+#endif
#if SDL_VIDEO_RENDER_D3D11
&D3D11_RenderDriver,
#endif
@@ -139,9 +143,6 @@ static const SDL_RenderDriver *render_drivers[] = {
#if SDL_VIDEO_RENDER_SW
&SW_RenderDriver,
#endif
-#if SDL_VIDEO_RENDER_GPU
- &GPU_RenderDriver,
-#endif
};
#endif // !SDL_RENDER_DISABLED