Project

General

Profile

Feature #848 ยป 0033-sdl3-Fix-Mix_OpenAudio-return-value-check.patch

Marko Lindqvist, 09/12/2024 07:16 AM

View differences:

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;
    (1-1/1)