Prefer SDL3 over SDL2 over SDL1.2

This commit is contained in:
Anonymous Maarten 2025-12-23 04:07:53 +01:00
parent f97ed5d9c9
commit 7fe1b24efd
1 changed files with 4 additions and 4 deletions

View File

@ -25,14 +25,14 @@ extern const tPlatform_bootstrap SDL2_bootstrap;
extern const tPlatform_bootstrap SDL3_bootstrap;
static const tPlatform_bootstrap* platform_bootstraps[] = {
#if defined(DETHRACE_PLATFORM_SDL2)
&SDL2_bootstrap,
#define HAS_PLATFORM_BOOTSTRAP
#endif
#if defined(DETHRACE_PLATFORM_SDL3)
&SDL3_bootstrap,
#define HAS_PLATFORM_BOOTSTRAP
#endif
#if defined(DETHRACE_PLATFORM_SDL2)
&SDL2_bootstrap,
#define HAS_PLATFORM_BOOTSTRAP
#endif
#if defined(DETHRACE_PLATFORM_SDL1)
&SDL1_bootstrap,
#define HAS_PLATFORM_BOOTSTRAP