From 0c2906d026757b004ee11adcd263ee75ea49b312 Mon Sep 17 00:00:00 2001 From: Rafael Kitover Date: Wed, 26 Dec 2018 05:24:21 -0800 Subject: [PATCH] fix SDL sound defaulting code The #if logic was leftover from when OpenAL was the default. Default to SDL sound always instead. --- src/wx/opts.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/wx/opts.cpp b/src/wx/opts.cpp index 4cbc6e648..0c8b9b151 100644 --- a/src/wx/opts.cpp +++ b/src/wx/opts.cpp @@ -286,11 +286,7 @@ const int num_opts = sizeof(opts) / sizeof(opts[0]); opts_t::opts_t() { frameSkip = -1; -#ifdef __WXMSW__ - audio_api = AUD_SDL; -#elif !defined(NO_OAL) && (defined(__WXMAC__) || defined(__WXGTK__)) audio_api = AUD_SDL; -#endif #ifndef NO_OGL render_method = RND_OPENGL; #endif