mirror of
https://github.com/harfang3d/harfang3d.git
synced 2024-06-01 14:02:16 +00:00
wasm: set emscripten condition for openal
to use bundled emsdk openal headers
This commit is contained in:
parent
1c891200b5
commit
b0dee0f6e4
|
@ -10,9 +10,12 @@
|
|||
#include "engine/ogg_audio_stream.h"
|
||||
#include "engine/wav_audio_stream.h"
|
||||
|
||||
#ifndef EMSCRIPTEN
|
||||
#include <AL/alc.h>
|
||||
#include <AL/alext.h>
|
||||
#if !defined(__EMSCRIPTEN__)
|
||||
#include <AL/alext.h>
|
||||
#else
|
||||
#include <AL/al.h>
|
||||
#endif
|
||||
|
||||
#include <bx/bx.h>
|
||||
|
||||
|
@ -625,4 +628,3 @@ void StopAllSources() {
|
|||
}
|
||||
|
||||
} // namespace hg
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user