wasm64 lto fix
This commit is contained in:
1 parent
a34d31322c
commit
d42bf59c66
1 file changed
+2
-5
@@ -155,11 +155,8 @@ static bool EMSCRIPTENAUDIO_OpenDevice(SDL_AudioDevice *device)
|
|||||||
Module['SDL3'] = {};
|
Module['SDL3'] = {};
|
||||||
}
|
}
|
||||||
var SDL3 = Module['SDL3'];
|
var SDL3 = Module['SDL3'];
|
||||||
if (!$0) {
|
SDL3.audio_playback = {};
|
||||||
SDL3.audio_playback = {};
|
SDL3.audio_recording = {};
|
||||||
} else {
|
|
||||||
SDL3.audio_recording = {};
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!SDL3.audioContext) {
|
if (!SDL3.audioContext) {
|
||||||
if (typeof(AudioContext) !== 'undefined') {
|
if (typeof(AudioContext) !== 'undefined') {
|
||||||
|
|||||||
Reference in new issue
Block a user