wasm64 lto fix

This commit is contained in:
mccakit authored and Ryan C. Gordon committed 2025-09-28 19:33:48 -04:00
1 parent a34d31322c
commit d42bf59c66
1 file changed
+2 -5
+2 -5
View File
@@ -155,11 +155,8 @@ static bool EMSCRIPTENAUDIO_OpenDevice(SDL_AudioDevice *device)
Module['SDL3'] = {};
}
var SDL3 = Module['SDL3'];
if (!$0) {
SDL3.audio_playback = {};
} else {
SDL3.audio_recording = {};
}
SDL3.audio_playback = {};
SDL3.audio_recording = {};
if (!SDL3.audioContext) {
if (typeof(AudioContext) !== 'undefined') {