mirror of https://github.com/libsdl-org/SDL.git
Fixed return value failing to load pulseaudio functions
This commit is contained in:
parent
7ca676aeed
commit
a56315cd48
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue