Moved the GPU renderer to the bottom of the list

We've gotten the feedback we wanted from having it first, so we'll move the other renderers back up for the widest compatibility across devices and platforms.

Fixes https://github.com/libsdl-org/SDL/issues/11468
This commit is contained in:
Sam Lantinga 2024-11-15 08:32:49 -08:00
parent 7f14eb33c6
commit b43b333d25

View File

@ -107,10 +107,6 @@ 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
#ifdef SDL_VIDEO_RENDER_GPU
&GPU_RenderDriver,
#endif
#ifdef SDL_VIDEO_RENDER_D3D11
&D3D11_RenderDriver,
#endif
@ -141,6 +137,9 @@ static const SDL_RenderDriver *render_drivers[] = {
#ifdef SDL_VIDEO_RENDER_VULKAN
&VULKAN_RenderDriver,
#endif
#ifdef SDL_VIDEO_RENDER_GPU
&GPU_RenderDriver,
#endif
#ifdef SDL_VIDEO_RENDER_SW
&SW_RenderDriver,
#endif