Skip to content

Commit

Permalink
fix SDL sound defaulting code
Browse files Browse the repository at this point in the history
The #if logic was leftover from when OpenAL was the default.

Default to SDL sound always instead.
  • Loading branch information
rkitover committed Dec 26, 2018
1 parent 580a11e commit 0c2906d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/wx/opts.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 0c2906d

Please sign in to comment.