Prefer SDL3 over SDL2 over SDL1.2 (#533)

This commit is contained in:
Anonymous Maarten 2025-12-23 15:41:47 +01:00 committed by GitHub
parent 307bd5b532
commit fe7ff89322
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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