mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-03 08:28:29 +00:00
wasm64 lto fix
This commit is contained in:
@@ -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