Skip to content

Commit

Permalink
Improve sdl audio error output
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed Dec 15, 2024
1 parent 492a65f commit df8ebc6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions platforms/shared/audio/sound_queue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ static void sdl_error(const char* str)
{
const char* sdl_str = SDL_GetError();
if (sdl_str && *sdl_str)
str = sdl_str;

Log("Sound Queue: %s", str);
Log("Sound Queue: %s - SDL Error: %s", str, sdl_str);
else
Log("Sound Queue: %s", str);
}

SoundQueue::SoundQueue()
Expand Down

0 comments on commit df8ebc6

Please sign in to comment.