aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2018-11-26 17:15:43 +0100
committerRay <raysan5@gmail.com>2018-11-26 17:15:43 +0100
commit969e48e3dd67ea26fd3e928914f0c1ffe7dfab23 (patch)
tree63bd6ac8ff9ed0e3ea53dac1162923471dfd9f14 /src
parentc6b526de664af7ab6d7ebaf535c981309ce789d4 (diff)
downloadraylib-969e48e3dd67ea26fd3e928914f0c1ffe7dfab23.tar.gz
raylib-969e48e3dd67ea26fd3e928914f0c1ffe7dfab23.zip
Enable SDL2 library for audio on Web
Solves audio cracking issues
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 70e8893c..fa9aeedb 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -301,7 +301,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
# -s ALLOW_MEMORY_GROWTH=1 # to allow memory resizing
# -s TOTAL_MEMORY=16777216 # to specify heap memory size (default = 16MB)
# -s USE_PTHREADS=1 # multithreading support
- CFLAGS += -s USE_GLFW=3 -s ASSERTIONS=1 --profiling
+ CFLAGS += -s USE_GLFW=3 -s USE_SDL=2 -s ASSERTIONS=1 --profiling
endif
ifeq ($(PLATFORM),PLATFORM_ANDROID)
# Compiler flags for arquitecture