Fixed return value failing to load pulseaudio functions

This commit is contained in:
Sam Lantinga 2024-09-03 13:24:27 -07:00
parent 7ca676aeed
commit a56315cd48
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ static bool load_pulseaudio_sym(const char *fn, void **addr)
// cast funcs to char* first, to please GCC's strict aliasing rules.
#define SDL_PULSEAUDIO_SYM(x) \
if (!load_pulseaudio_sym(#x, (void **)(char *)&PULSEAUDIO_##x)) \
return -1
return false
static void UnloadPulseAudioLibrary(void)
{