mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
Add SDL error to message
This commit is contained in:
parent
e42eeea291
commit
6fdf6d6092
@ -105,7 +105,11 @@ MxResult MxSoundManager::Create(MxU32 p_frequencyMS, MxBool p_createThread)
|
||||
SDL_ResumeAudioDevice(SDL_GetAudioStreamDevice(m_stream));
|
||||
}
|
||||
else {
|
||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Failed to open default audio device for playback");
|
||||
SDL_LogError(
|
||||
SDL_LOG_CATEGORY_APPLICATION,
|
||||
"Failed to open default audio device for playback: %s",
|
||||
SDL_GetError()
|
||||
);
|
||||
}
|
||||
|
||||
if (p_createThread) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user