Skip to content

Commit ef935cf

Browse files
thatcosmonautflibitijibibo
authored andcommitted
prefer Metal backend when available (#59)
1 parent f992d1d commit ef935cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/gpu/SDL_gpu.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,14 @@
105105
/* Drivers */
106106

107107
static const SDL_GpuDriver *backends[] = {
108+
#if SDL_GPU_METAL
109+
&MetalDriver,
110+
#endif
108111
#if SDL_GPU_VULKAN
109112
&VulkanDriver,
110113
#endif
111114
#if SDL_GPU_D3D11
112115
&D3D11Driver,
113-
#endif
114-
#if SDL_GPU_METAL
115-
&MetalDriver,
116116
#endif
117117
NULL
118118
};

0 commit comments

Comments
 (0)