static vars 1

This commit is contained in:
Jeff Harris 2025-06-29 14:43:08 +12:00
parent 8ab05aef69
commit fe128646e6
1 changed files with 2 additions and 8 deletions

View File

@ -19,14 +19,8 @@ extern void Harness_Platform_Init(tHarness_platform* platform);
extern const tPlatform_bootstrap SDL1_bootstrap;
extern const tPlatform_bootstrap SDL2_bootstrap;
static const tPlatform_bootstrap* platform_bootstraps[] = {
#ifdef DETHRACE_PLATFORM_SDL2
&SDL2_bootstrap,
#endif
#ifdef DETHRACE_PLATFORM_SDL1
&SDL1_bootstrap,
#endif
};
static const tPlatform_bootstrap* platform_bootstraps[1];
// SplatPack or Carmageddon. This is where we represent the code differences between the two. For example, the intro smack file.
tHarness_game_info harness_game_info;