Commit 2aa05be5 authored by David Reid's avatar David Reid

Disable SDL on Emscripten to avoid compiler errors.

parent 36bd1374
......@@ -1205,10 +1205,9 @@ void mal_interleave_pcm_frames(mal_format format, mal_uint32 channels, mal_uint6
#define MAL_SUPPORT_WEBAUDIO
#endif
#define MAL_SUPPORT_SDL // All platforms support SDL.
// Explicitly disable OpenAL and Null backends for Emscripten because they both use a background thread which is not properly supported right now.
#if !defined(MAL_EMSCRIPTEN)
#define MAL_SUPPORT_SDL
#define MAL_SUPPORT_OPENAL
#define MAL_SUPPORT_NULL
#endif
......@@ -10,7 +10,6 @@
#include "../extras/stb_vorbis.c"
#endif
#define MAL_NO_SDL
#define MINI_AL_IMPLEMENTATION
#include "../mini_al.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment