Feature #848 ยป 0033-sdl3-Fix-Mix_OpenAudio-return-value-check.patch
client/audio_sdl.c | ||
---|---|---|
}
|
||
#ifdef AUDIO_SDL3
|
||
if (Mix_OpenAudio(0, NULL) < 0) {
|
||
if (!Mix_OpenAudio(0, NULL)) {
|
||
#else /* AUDIO_SDL3 */
|
||
/* Initialize variables */
|
||
const int audio_rate = MIX_DEFAULT_FREQUENCY;
|