Skip to content

Commit

Permalink
Remove version check
Browse files Browse the repository at this point in the history
Remove version check
  • Loading branch information
andyvand committed Feb 2, 2025
1 parent 95a62a9 commit 4bb8d97
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/drivers/fluid_sdl3.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,17 +186,13 @@ void fluid_sdl3_audio_driver_settings(fluid_settings_t *settings)

if(!SDL_WasInit(SDL_INIT_AUDIO))
{
#if FLUID_VERSION_CHECK(FLUIDSYNTH_VERSION_MAJOR, FLUIDSYNTH_VERSION_MINOR, FLUIDSYNTH_VERSION_MICRO) < FLUID_VERSION_CHECK(2,2,0)
FLUID_LOG(FLUID_WARN, "SDL3 not initialized, SDL3 audio driver won't be usable");
#endif
return;
}

if(!SDL_InitSubSystem(SDL_INIT_AUDIO))
{
#if FLUID_VERSION_CHECK(FLUIDSYNTH_VERSION_MAJOR, FLUIDSYNTH_VERSION_MINOR, FLUIDSYNTH_VERSION_MICRO) < FLUID_VERSION_CHECK(2,2,0)
FLUID_LOG(FLUID_WARN, "SDL3 subsystem not initialized, SDL3 audio driver won't be usable");
#endif
return;
}

Expand Down

0 comments on commit 4bb8d97

Please sign in to comment.