print saved SDL error for audio init problems
This commit is contained in:
parent
778f399ab5
commit
bb111e5149
1 changed files with 1 additions and 1 deletions
|
|
@ -6644,7 +6644,7 @@ static void setup(int argc, char * argv[])
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"\nWarning: I could not initialize audio!\n"
|
"\nWarning: I could not initialize audio!\n"
|
||||||
"The Simple DirectMedia Layer error that occurred was:\n"
|
"The Simple DirectMedia Layer error that occurred was:\n"
|
||||||
"%s\n\n", SDL_GetError());
|
"%s\n\n", olderr);
|
||||||
free(olderr);
|
free(olderr);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue